nixpkgs-suyu/pkgs/tools/networking/gping/default.nix
Mrinal 3911dfc40d
gping: 1.2.1 -> 1.2.6 (#143124)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-27 14:53:43 +02:00

29 lines
635 B
Nix

{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, libiconv
}:
rustPlatform.buildRustPackage rec {
pname = "gping";
version = "1.2.6";
src = fetchFromGitHub {
owner = "orf";
repo = "gping";
rev = "gping-v${version}";
sha256 = "sha256-Sxmwuf+iTBTlpfMFCEUp6JyEaoHgmLIKB/gws2KY/xc=";
};
cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4=";
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "Ping, but with a graph";
homepage = "https://github.com/orf/gping";
license = licenses.mit;
maintainers = with maintainers; [ andrew-d ];
};
}