base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / se / seclists / package.nix
blob8ed7f7b15b475208c164914365acc8584c6f8372
1 { lib
2 , fetchFromGitHub
3 , stdenvNoCC
4 }:
6 stdenvNoCC.mkDerivation {
7   pname = "seclists";
8   version = "2024.3";
10   src = fetchFromGitHub {
11     owner = "danielmiessler";
12     repo = "SecLists";
13     rev = "2024.3";
14     hash = "sha256-Ffd4jpV8F6rtMQVqsu+8X/QU5rwbKXv0zkOCmUuhP8I=";
15   };
17   installPhase = ''
18     runHook preInstall
20     mkdir -p $out/share/wordlists/seclists
21     find . -maxdepth 1 -type d -regextype posix-extended -regex '^./[A-Z].*' -exec cp -R {} $out/share/wordlists/seclists \;
22     find $out/share/wordlists/seclists -name "*.md" -delete
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Collection of multiple types of lists used during security assessments, collected in one place";
29     homepage = "https://github.com/danielmiessler/seclists";
30     license = licenses.mit;
31     maintainers = with maintainers; [ tochiaha pamplemousse ];
32   };