nixpkgs/pkgs/tools/networking/snowflake/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
781 B
Nix
Raw Normal View History

2022-11-29 04:20:00 +00:00
{ lib, buildGoModule, fetchFromGitLab }:
2022-01-18 14:16:04 +00:00
buildGoModule rec {
pname = "snowflake";
2023-02-12 15:48:51 +00:00
version = "2.5.1";
2022-01-18 14:16:04 +00:00
2022-11-29 04:20:00 +00:00
src = fetchFromGitLab {
domain = "gitlab.torproject.org";
group = "tpo";
owner = "anti-censorship/pluggable-transports";
repo = "snowflake";
2022-01-18 14:16:04 +00:00
rev = "v${version}";
2023-02-12 15:48:51 +00:00
sha256 = "sha256-r2NRIb6qbA1B5HlVNRqa9ongQpyiyPskhembPHX3Lgc=";
2022-01-18 14:16:04 +00:00
};
2023-02-12 15:48:51 +00:00
vendorHash = "sha256-dnfm4KiVD89bnHV7bfw5aXWHGdcH9JBdrtvuS6s8N5w=";
2022-01-18 14:16:04 +00:00
meta = with lib; {
description = "System to defeat internet censorship";
homepage = "https://snowflake.torproject.org/";
2022-11-29 04:20:00 +00:00
changelog = "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/raw/v${version}/ChangeLog";
2022-01-18 14:16:04 +00:00
maintainers = with maintainers; [ lourkeur ];
license = licenses.bsd3;
};
}