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