7 stdenv.mkDerivation rec {
9 version = "2022-10-18";
11 src = fetchFromGitHub {
12 owner = "offensive-security";
14 rev = "refs/tags/${version}";
15 hash = "sha256-qyRAwy4rGaV7fiU0gwvnf6yT4ZAAXYTtZubh+GtsJU8=";
24 mkdir -p $out/bin $out/share
25 cp --recursive . $out/share/exploitdb
26 makeWrapper $out/share/exploitdb/searchsploit $out/bin/searchsploit
31 homepage = "https://github.com/offensive-security/exploitdb";
32 description = "Archive of public exploits and corresponding vulnerable software";
33 license = with licenses; [ gpl2Plus gpl3Plus mit ];
34 maintainers = with maintainers; [ applePrincess fab ];
35 mainProgram = "searchsploit";