2023-05-03 19:05:27 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "trippy";
|
2023-05-15 13:17:36 +00:00
|
|
|
version = "0.8.0";
|
2023-05-03 19:05:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fujiapple852";
|
|
|
|
repo = "trippy";
|
|
|
|
rev = version;
|
2023-05-15 13:17:36 +00:00
|
|
|
hash = "sha256-2bh4wNP8sQcojjjbx5DQctlkwCTYcPdSkpW4OCOyp9k=";
|
2023-05-03 19:05:27 +00:00
|
|
|
};
|
|
|
|
|
2023-05-15 13:17:36 +00:00
|
|
|
cargoHash = "sha256-C8SUceX9RwUyiCknmuRfBqG0vjesS54bZQHwi7krwKo=";
|
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";
|
|
|
|
};
|
|
|
|
}
|