depot/third_party/nixpkgs/pkgs/by-name/fu/fuzzdb/package.nix

34 lines
895 B
Nix
Raw Normal View History

{
lib,
fetchFromGitHub,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "fuzzdb";
version = "0-unstable-2020-02-26";
src = fetchFromGitHub {
owner = "fuzzdb-project";
repo = "fuzzdb";
rev = "5656ab25dc6bb43bae32236fab775658a90d7380";
hash = "sha256-7AORrXi443+VK5lbgcjqW4QS7asbXu/dCKj8uCMC0PY=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/{fuzzdb,wordlists/fuzzdb}
mv docs web-backdoors $out/share/fuzzdb
mv */ $out/share/wordlists/fuzzdb
runHook postInstall
'';
meta = {
description = "Comprehensive collection of attack patterns and predictable resource names used for security testing and fuzzing application";
homepage = "https://github.com/fuzzdb-project/fuzzdb";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ d3vil0p3r ];
platforms = lib.platforms.all;
};
}