mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
gping: add manpage to output
This commit is contained in:
parent
a9f9cdeb72
commit
6baffa029e
@ -2,6 +2,7 @@
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, libiconv
|
||||
, Security
|
||||
, iputils
|
||||
@ -22,8 +23,14 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
nativeCheckInputs = lib.optionals stdenv.isLinux [ iputils ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage gping.1
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/gping --version | grep "${version}"
|
||||
|
Loading…
Reference in New Issue
Block a user