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 {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pluggable transport proxy";
|
|
|
|
homepage = "https://www.torproject.org/projects/obfsproxy";
|
2021-12-21 02:18:32 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|