gping: add test

This commit is contained in:
Mrinal Purohit 2022-02-07 14:27:12 +05:30
parent c40dadac17
commit de4b6944e0

View File

@ -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";