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