chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / nu / nuclei-templates / package.nix
blob196abb001faa7a878490edd4d11356fd5b88fe06
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "nuclei-templates";
9   version = "10.0.1";
11   src = fetchFromGitHub {
12     owner = "projectdiscovery";
13     repo = "nuclei-templates";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-unQ/c3S1uJGSE7DoDsKnnI0n7YGe7s8F0g+yUNB4xH4=";
16   };
18   installPhase = ''
19     runHook preInstall
21     mkdir -p $out/share/nuclei-templates
22     cp -R cloud code dast dns file headless helpers http javascript network profiles ssl \
23       $out/share/nuclei-templates/
25     runHook postInstall
26   '';
28   meta = with lib; {
29     description = "Templates for the nuclei engine to find security vulnerabilities";
30     homepage = "https://github.com/projectdiscovery/nuclei-templates";
31     changelog = "https://github.com/projectdiscovery/nuclei-templates/releases/tag/v${version}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ fab ];
34     platforms = platforms.all;
35   };