obfs4: install manpage
This commit is contained in:
parent
734632e4c1
commit
92e372174c
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildGoModule, fetchFromGitLab }:
|
{ lib, buildGoModule, fetchFromGitLab, installShellFiles }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "obfs4";
|
pname = "obfs4";
|
||||||
|
@ -17,6 +17,12 @@ buildGoModule rec {
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage doc/obfs4proxy.1
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Circumvents censorship by transforming Tor traffic between clients and bridges";
|
description = "Circumvents censorship by transforming Tor traffic between clients and bridges";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue