From 2e0ff149e718104d0d4d6f3a46c33a842e84b862 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Wed, 1 Jan 2025 12:43:30 +0100 Subject: [PATCH] nbping: init at 0.6.1 --- pkgs/by-name/nb/nbping/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/nb/nbping/package.nix diff --git a/pkgs/by-name/nb/nbping/package.nix b/pkgs/by-name/nb/nbping/package.nix new file mode 100644 index 000000000000..4c88714fe89c --- /dev/null +++ b/pkgs/by-name/nb/nbping/package.nix @@ -0,0 +1,30 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: +let + pname = "nbping"; + version = "0.6.1"; +in +rustPlatform.buildRustPackage { + inherit pname version; + + src = fetchFromGitHub { + owner = "hanshuaikang"; + repo = "Nping"; + tag = "v${version}"; + hash = "sha256-6eUsvNMQoJ5TUWPkOlmcJqdmxaXoBStnhiXiya+0nV8="; + }; + + cargoHash = "sha256-6+drbq9dQ5/Atzoz9VPS4BoYEPeM5OqPXUuM1AXP72g="; + + meta = { + description = "Ping Tool in Rust with Real-Time Data and Visualizations"; + homepage = "https://github.com/hanshuaikang/Nping"; + changelog = "https://github.com/hanshuaikang/Nping/releases/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; + mainProgram = "nbping"; + }; +}