2022-12-17 10:02:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab }:
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "snowflake";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.9.2";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.torproject.org";
|
|
|
|
group = "tpo";
|
|
|
|
owner = "anti-censorship/pluggable-transports";
|
|
|
|
repo = "snowflake";
|
2022-01-25 03:21:06 +00:00
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-QyTyFz4NIuUV7g5f6qV/ujfHYZDnnZmjeBinvcWlo0U=";
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-Qn8JFzrLCUrr6WGvVmaSYC7ooiMGl8iPMXkRvALho1A=";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "System to defeat internet censorship";
|
|
|
|
homepage = "https://snowflake.torproject.org/";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/raw/v${version}/ChangeLog";
|
2024-02-29 20:09:43 +00:00
|
|
|
maintainers = with maintainers; [ bbjubjub yayayayaka ];
|
2022-01-25 03:21:06 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|