Unverified Commit 4f7b0438 authored by Florian's avatar Florian Committed by GitHub
Browse files

Merge pull request #329860 from D3vil0p3r/patch-5

fuzzdb: init at 0-unstable-2020-02-26
parents b1d8131e 2b9f773a
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  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;
  };
}