2022-12-17 10:02:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab }:
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "snowflake";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.6.1";
|
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}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-3gLcSZv8GpEio+yvPyBVVceb1nO0HzhpQKhEgf4nQvU=";
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-MjxDB9fcPM6nIeGk6YvJOKXI/ThlMrxqJl9ROAREwXk=";
|
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";
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ lourkeur yayayayaka ];
|
2022-01-25 03:21:06 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|