gping: add test
This commit is contained in:
parent
c40dadac17
commit
de4b6944e0
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
$out/bin/gping --version | grep "${version}"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Ping, but with a graph";
|
description = "Ping, but with a graph";
|
||||||
homepage = "https://github.com/orf/gping";
|
homepage = "https://github.com/orf/gping";
|
||||||
|
|
Loading…
Reference in a new issue