nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 stdenvNoCC,
5}:
6
7stdenvNoCC.mkDerivation {
8 pname = "fuzzdb";
9 version = "0-unstable-2020-02-26";
10
11 src = fetchFromGitHub {
12 owner = "fuzzdb-project";
13 repo = "fuzzdb";
14 rev = "5656ab25dc6bb43bae32236fab775658a90d7380";
15 hash = "sha256-7AORrXi443+VK5lbgcjqW4QS7asbXu/dCKj8uCMC0PY=";
16 };
17
18 installPhase = ''
19 runHook preInstall
20 mkdir -p $out/share/{fuzzdb,wordlists/fuzzdb}
21 mv docs web-backdoors $out/share/fuzzdb
22 mv */ $out/share/wordlists/fuzzdb
23 runHook postInstall
24 '';
25
26 meta = {
27 description = "Comprehensive collection of attack patterns and predictable resource names used for security testing and fuzzing application";
28 homepage = "https://github.com/fuzzdb-project/fuzzdb";
29 license = with lib.licenses; [ bsd3 ];
30 maintainers = [ ];
31 platforms = lib.platforms.all;
32 };
33}