2023-05-03 19:05:27 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "trippy";
|
2023-12-01 14:50:54 +00:00
|
|
|
version = "0.9.0";
|
2023-05-03 19:05:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fujiapple852";
|
|
|
|
repo = "trippy";
|
|
|
|
rev = version;
|
2023-12-01 14:50:54 +00:00
|
|
|
hash = "sha256-Q5WPpCm1RNLlNX8G1U160O2wJz+y+KMScApjx6gIBCg=";
|
2023-05-03 19:05:27 +00:00
|
|
|
};
|
|
|
|
|
2023-12-01 14:50:54 +00:00
|
|
|
cargoHash = "sha256-brvfAZZ3L0loZQowcRfkS7o7ZYQB9hr5o1rgMSWaljU=";
|
2023-05-03 19:05:27 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A network diagnostic tool";
|
|
|
|
homepage = "https://trippy.cli.rs";
|
|
|
|
changelog = "https://github.com/fujiapple852/trippy/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
mainProgram = "trip";
|
|
|
|
};
|
|
|
|
}
|