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

26 lines
553 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";
2021-03-11 00:12:59 +01:00
version = "1.2.1";
2020-11-14 04:01:32 +01:00
src = fetchFromGitHub {
owner = "orf";
repo = "gping";
rev = "v${version}";
2021-03-11 00:12:59 +01:00
sha256 = "sha256-lApm1JLXNjDKLj6zj25OaZDVp7lLW3qyrDsvJrudl8I=";
};
2021-03-11 00:12:59 +01:00
cargoSha256 = "sha256-2PxhtAqROgufVGGH7VtEJJU6Sa2OrGbbMVRUWYbAD0Q=";
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 ];
};
}