diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-02-03 23:19:06 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-02-03 23:19:06 +0100 |
commit | 85da7aca82afba4156c6edfa9f6a6cc36b28aacf (patch) | |
tree | 0787df2651b83be830e53c285962b07bfa628215 /pkgs/by-name/np | |
parent | aacf58468932d2bddc6e28585d6708c04f8563a5 (diff) |
np: init at 0.11.0
A tool to parse, deduplicate, and query multiple port scans https://github.com/leesoh/np
Diffstat (limited to 'pkgs/by-name/np')
-rw-r--r-- | pkgs/by-name/np/np/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/np/np/package.nix b/pkgs/by-name/np/np/package.nix new file mode 100644 index 0000000000000..f8d964b998352 --- /dev/null +++ b/pkgs/by-name/np/np/package.nix @@ -0,0 +1,32 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "np"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "leesoh"; + repo = "np"; + rev = "refs/tags/v${version}"; + hash = "sha256-4krjQi/zEC4a+CjacgbnQIMKKFVr6H2FSwRVB6pkHf0="; + }; + + vendorHash = "sha256-rSg4YFLZdtyC/tm/EULyt7r0O9PXI72W8y6/ltDSbj4="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "A tool to parse, deduplicate, and query multiple port scans"; + homepage = "https://github.com/leesoh/np"; + changelog = "https://github.com/leesoh/np/releases/tag/v${version}"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + mainProgram = "np"; + }; +} |