2022-01-25 03:21:06 +00:00
|
|
|
{ lib, buildGoModule, fetchgit }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "snowflake";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "2.2.0";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.torproject.org/pluggable-transports/${pname}";
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "0iazamrfixv6yxc5m49adm97biq93pn6hwwpbh8yq558hrc6bh70";
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = "1v7cpg3kny0vqmdbgcc7i61wi5gx5wvrv0hmjykjrqgrvyq764c1";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "System to defeat internet censorship";
|
|
|
|
homepage = "https://snowflake.torproject.org/";
|
|
|
|
maintainers = with maintainers; [ lourkeur ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|