summary refs log tree commit diff
path: root/pkgs/tools/networking/snowflake/default.nix
blob: 8535f18567daa97947ceb7e2451c9c8e380d7e7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildGoModule, fetchgit }:

buildGoModule rec {
  pname = "snowflake";
  version = "2.0.1";

  src = fetchgit {
    url = "https://git.torproject.org/pluggable-transports/${pname}";
    rev = "v${version}";
    hash = "sha256-ULkqsh0DeFI1GsaVaHGSjoEY38EktvDVC52Sx6cQLOE=";
  };

  vendorSha256 = "D5A19UHL1WEE1ODT80jKT+PJ5CTXPjc9Eg6v2Nfm4aw=";

  meta = with lib; {
    description = "System to defeat internet censorship";
    homepage = "https://snowflake.torproject.org/";
    maintainers = with maintainers; [ lourkeur ];
    license = licenses.bsd3;
  };
}