nixpkgs-suyu/pkgs/tools/security/nuclei/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.1 KiB
Nix
Raw Normal View History

2021-03-16 22:45:29 +01:00
{ lib
, buildGoModule
2020-12-27 12:27:21 +01:00
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nuclei";
2022-04-26 00:19:45 +02:00
version = "2.6.9";
2020-12-27 12:27:21 +01:00
src = fetchFromGitHub {
owner = "projectdiscovery";
2021-03-16 22:45:29 +01:00
repo = pname;
2020-12-27 12:27:21 +01:00
rev = "v${version}";
2022-04-26 00:19:45 +02:00
sha256 = "sha256-BGWlkNj0LQ02BSUWQYjoT4bR0t/DmNB0jBpvwB/gWwo=";
2020-12-27 12:27:21 +01:00
};
2022-04-26 00:19:45 +02:00
vendorSha256 = "sha256-ar62CZ/2zXO3lwvWNiIAt9XITj2Y/0iIYGX8tmSCwcU=";
2020-12-27 12:27:21 +01:00
modRoot = "./v2";
subPackages = [
"cmd/nuclei/"
];
2020-12-27 12:27:21 +01:00
2021-03-16 22:45:29 +01:00
# Test files are not part of the release tarball
doCheck = false;
meta = with lib; {
2020-12-27 12:27:21 +01:00
description = "Tool for configurable targeted scanning";
longDescription = ''
Nuclei is used to send requests across targets based on a template
leading to zero false positives and providing effective scanning
for known paths. Main use cases for nuclei are during initial
reconnaissance phase to quickly check for low hanging fruits or
CVEs across targets that are known and easily detectable.
'';
homepage = "https://github.com/projectdiscovery/nuclei";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}