forked from mirrors/nixpkgs
24 lines
644 B
Nix
24 lines
644 B
Nix
{ lib, fetchgit, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "obfs4";
|
|
version = "0.0.11";
|
|
|
|
src = fetchgit {
|
|
url = meta.repositories.git;
|
|
rev = "refs/tags/${pname}proxy-${version}";
|
|
sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A pluggable transport proxy";
|
|
homepage = "https://www.torproject.org/projects/obfsproxy";
|
|
repositories.git = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|