2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchgit, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "obfs4";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.0.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = meta.repositories.git;
|
|
|
|
rev = "refs/tags/${pname}proxy-${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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; [ phreedom thoughtpolice ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|