forked from mirrors/nixpkgs
np: init at 0.11.0
A tool to parse, deduplicate, and query multiple port scans https://github.com/leesoh/np
This commit is contained in:
parent
aacf584689
commit
85da7aca82
32
pkgs/by-name/np/np/package.nix
Normal file
32
pkgs/by-name/np/np/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue