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

24 lines
644 B
Nix
Raw Normal View History

{ lib, fetchgit, buildGoModule }:
2019-04-30 01:04:17 +00:00
buildGoModule rec {
pname = "obfs4";
2021-12-09 05:16:04 +00:00
version = "0.0.11";
2019-04-30 01:04:17 +00:00
src = fetchgit {
url = meta.repositories.git;
rev = "refs/tags/${pname}proxy-${version}";
2021-12-09 05:16:04 +00:00
sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g=";
2019-04-30 01:04:17 +00:00
};
2021-12-09 05:16:04 +00:00
vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo=";
2019-04-30 01:04:17 +00:00
doCheck = false;
meta = with lib; {
2019-04-30 01:04:17 +00:00
description = "A pluggable transport proxy";
homepage = "https://www.torproject.org/projects/obfsproxy";
repositories.git = "https://git.torproject.org/pluggable-transports/obfs4.git";
2021-12-18 09:25:46 +00:00
maintainers = with maintainers; [ thoughtpolice ];
2019-04-30 01:04:17 +00:00
};
}