forked from mirrors/nixpkgs
22 lines
578 B
Nix
22 lines
578 B
Nix
{ lib, buildGoModule, fetchgit }:
|
|
|
|
buildGoModule rec {
|
|
pname = "snowflake";
|
|
version = "2.3.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.torproject.org/pluggable-transports/${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-LQ9QIdj3id6bEzAItMGc3pJFylNP4har79VKUa9qo20=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-a2Ng+D1I0v5odChM6XVVnNwea/0SOTOmdm2dqKaSU3s=";
|
|
|
|
meta = with lib; {
|
|
description = "System to defeat internet censorship";
|
|
homepage = "https://snowflake.torproject.org/";
|
|
maintainers = with maintainers; [ lourkeur ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|