mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
59689a6aeb
Diff: https://github.com/projectdiscovery/nuclei-templates/compare/refs/tags/v10.0.1...v10.0.2 Changelog: https://github.com/projectdiscovery/nuclei-templates/releases/tag/v10.0.2
37 lines
954 B
Nix
37 lines
954 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "nuclei-templates";
|
|
version = "10.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "nuclei-templates";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-mFuY1i+AqksAvaMAJkP227eZZE+sauRxOIqV5DO8MFE=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/nuclei-templates
|
|
cp -R cloud code dast dns file headless helpers http javascript network profiles ssl \
|
|
$out/share/nuclei-templates/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Templates for the nuclei engine to find security vulnerabilities";
|
|
homepage = "https://github.com/projectdiscovery/nuclei-templates";
|
|
changelog = "https://github.com/projectdiscovery/nuclei-templates/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|