mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
gping: add test
This commit is contained in:
parent
c40dadac17
commit
de4b6944e0
@ -21,6 +21,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/gping --version | grep "${version}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ping, but with a graph";
|
||||
homepage = "https://github.com/orf/gping";
|
||||
|
Loading…
Reference in New Issue
Block a user