33 lines
814 B
Nix
33 lines
814 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitLab,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "snowflake";
|
|
version = "2.11.0";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.torproject.org";
|
|
group = "tpo";
|
|
owner = "anti-censorship/pluggable-transports";
|
|
repo = "snowflake";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VfKiY5XCUnhsWoSfMeYQ5rxxXmAtWzD94o4EvhDCwDM=";
|
|
};
|
|
|
|
vendorHash = "sha256-vopRE4B4WhncUdBfmBTzRbZzCU20vsHoNCYcPG4BGc0=";
|
|
|
|
meta = {
|
|
description = "System to defeat internet censorship";
|
|
homepage = "https://snowflake.torproject.org/";
|
|
changelog = "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/raw/v${version}/ChangeLog";
|
|
maintainers = with lib.maintainers; [
|
|
bbjubjub
|
|
yayayayaka
|
|
];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|