2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchgit, buildGoModule }:
|
2019-04-30 02:04:17 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "obfs4";
|
2021-12-09 05:16:04 +00:00
|
|
|
version = "0.0.11";
|
2019-04-30 02:04:17 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
2022-03-23 21:22:02 +00:00
|
|
|
url = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
2019-04-30 02:04:17 +01:00
|
|
|
rev = "refs/tags/${pname}proxy-${version}";
|
2021-12-09 05:16:04 +00:00
|
|
|
sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g=";
|
2019-04-30 02:04:17 +01:00
|
|
|
};
|
|
|
|
|
2021-12-09 05:16:04 +00:00
|
|
|
vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo=";
|
2019-04-30 02:04:17 +01:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-04-30 02:04:17 +01:00
|
|
|
description = "A pluggable transport proxy";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.torproject.org/projects/obfsproxy";
|
2021-12-18 09:25:46 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
2019-04-30 02:04:17 +01:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|