2020-03-27 10:33:21 +03:00
|
|
|
{ lib, fetchgit, buildGoModule }:
|
2019-04-30 04:04:17 +03:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "obfs4";
|
2022-04-13 15:28:05 +03:00
|
|
|
version = "0.0.12";
|
2019-04-30 04:04:17 +03:00
|
|
|
|
|
|
|
src = fetchgit {
|
2022-03-24 00:22:02 +03:00
|
|
|
url = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
2022-04-13 15:28:05 +03:00
|
|
|
rev = "a564bc3840bc788605e1a8155f4b95ce0d70c6db"; # not tagged
|
|
|
|
sha256 = "0hqk540q94sh4wvm31jjcvpdklhf8r35in4yii7xnfn58a7amfkc";
|
2019-04-30 04:04:17 +03:00
|
|
|
};
|
|
|
|
|
2022-04-13 15:28:05 +03:00
|
|
|
vendorSha256 = "0yjanv5piygffpdfysviijl7cql2k0r05bsxnlj4hbamsriz9xqy";
|
2019-04-30 04:04:17 +03:00
|
|
|
|
2020-03-27 10:33:21 +03:00
|
|
|
meta = with lib; {
|
2019-04-30 04:04:17 +03:00
|
|
|
description = "A pluggable transport proxy";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://www.torproject.org/projects/obfsproxy";
|
2021-12-18 12:25:46 +03:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
2022-05-05 03:46:39 +03:00
|
|
|
mainProgram = "obfs4proxy";
|
2019-04-30 04:04:17 +03:00
|
|
|
};
|
2020-07-31 06:58:04 +03:00
|
|
|
}
|