mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nuclei-templates: init at 9.8.0
Templates for the nuclei engine to find security vulnerabilities https://github.com/projectdiscovery/nuclei-templates
This commit is contained in:
parent
d3f8923899
commit
331e45496e
35
pkgs/by-name/nu/nuclei-templates/package.nix
Normal file
35
pkgs/by-name/nu/nuclei-templates/package.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "nuclei-templates";
|
||||||
|
version = "9.8.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "projectdiscovery";
|
||||||
|
repo = "nuclei-templates";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-1aLy8wNWMFouZRjhCSiwSq1uo20C9wN7LPxyBqK6K0k=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/nuclei-templates
|
||||||
|
cp -R cloud code config dns file headless helpers http javascript network 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue