nixpkgs-suyu/pkgs/tools/networking/gping/default.nix

26 lines
560 B
Nix
Raw Normal View History

{ lib
2020-11-14 04:01:32 +01:00
, rustPlatform
, fetchFromGitHub
}:
2020-11-14 04:01:32 +01:00
rustPlatform.buildRustPackage rec {
pname = "gping";
2020-12-07 20:04:04 +01:00
version = "1.2.0-post";
2020-11-14 04:01:32 +01:00
src = fetchFromGitHub {
owner = "orf";
repo = "gping";
rev = "v${version}";
2020-12-07 20:04:04 +01:00
sha256 = "0h4cd36lrhr64p3m2l7yvkq22h8fzzm3g61m39d303s1viibm6dg";
};
2020-12-07 20:04:04 +01:00
cargoSha256 = "0aadalgs5p7wqbbkidm49ccfl716xairb4pirrgm3749zdg55bi9";
meta = with lib; {
description = "Ping, but with a graph";
homepage = "https://github.com/orf/gping";
2020-11-14 04:01:32 +01:00
license = licenses.mit;
maintainers = with maintainers; [ andrew-d ];
};
}