mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
naabu: 2.0.4 -> 2.0.5
This commit is contained in:
parent
7c204b7c2d
commit
b8809b3851
@ -1,27 +1,31 @@
|
||||
{ buildGoModule
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "naabu";
|
||||
version = "2.0.4";
|
||||
version = "2.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = "naabu";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-t5Ij3UeH3z8obOH90cnmwcX9iC97sH7VIKvannSZ+MM=";
|
||||
sha256 = "0kbpfb1ryfqy8a54ksm7zm8pqy8f4adh06jc1ccpdxks3k0rygid";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-veOIt3hELk3smrGlTyldtdaz5uI4U8/2SeD0UNykB8A=";
|
||||
vendorSha256 = "0kkkx8p0r04gg3pp0qy835afaxnqxjggnr7q7l6azdvg8qvgxfms";
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
buildInputs = [
|
||||
libpcap
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
mv v2/* .
|
||||
'';
|
||||
modRoot = "./v2";
|
||||
|
||||
subPackages = [
|
||||
"cmd/naabu/"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast SYN/CONNECT port scanner";
|
||||
|
Loading…
Reference in New Issue
Block a user