diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-11-29 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2022-11-29 04:20:00 +0000 |
commit | 92e372174cc0109b9987f7a1888245ac6b196102 (patch) | |
tree | 8944560a160d5df01fa15046b4b914c20d24541f /pkgs/tools/networking/obfs4 | |
parent | 734632e4c122880e7d447436ae550eb6f64cc326 (diff) |
obfs4: install manpage
Diffstat (limited to 'pkgs/tools/networking/obfs4')
-rw-r--r-- | pkgs/tools/networking/obfs4/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/networking/obfs4/default.nix b/pkgs/tools/networking/obfs4/default.nix index 8eb3e8f55d05b..edaf6d27c8d84 100644 --- a/pkgs/tools/networking/obfs4/default.nix +++ b/pkgs/tools/networking/obfs4/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitLab }: +{ lib, buildGoModule, fetchFromGitLab, installShellFiles }: buildGoModule rec { pname = "obfs4"; @@ -17,6 +17,12 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installManPage doc/obfs4proxy.1 + ''; + meta = with lib; { description = "Circumvents censorship by transforming Tor traffic between clients and bridges"; longDescription = '' |