From b8466582d64ebc601ffd32a21f2bb4682480b873 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 3 May 2023 15:05:27 -0400 Subject: [PATCH] trippy: init at 0.7.0 --- pkgs/tools/networking/trippy/default.nix | 27 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/networking/trippy/default.nix diff --git a/pkgs/tools/networking/trippy/default.nix b/pkgs/tools/networking/trippy/default.nix new file mode 100644 index 000000000000..0af70a22e0c4 --- /dev/null +++ b/pkgs/tools/networking/trippy/default.nix @@ -0,0 +1,27 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "trippy"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "fujiapple852"; + repo = "trippy"; + rev = version; + hash = "sha256-ABdG1FKgFF/vMkAQl2tk8FcnSzC4Z3r9E67ZwAGPt8U="; + }; + + cargoHash = "sha256-1H3JHZbG8k15Qfpsk+XykmbotHcO+J4zTbwdlOR2kso="; + + 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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20b5e2329b05..43ab869613eb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13065,6 +13065,8 @@ with pkgs; trilium-server ; + trippy = callPackage ../tools/networking/trippy { }; + trousers = callPackage ../tools/security/trousers { }; trueseeing = callPackage ../tools/security/trueseeing { };