1{
2 lib,
3 bundlerApp,
4 makeWrapper,
5 curl,
6}:
7
8bundlerApp {
9 pname = "wpscan";
10 gemdir = ./.;
11 exes = [ "wpscan" ];
12
13 nativeBuildInputs = [ makeWrapper ];
14
15 postBuild = ''
16 wrapProgram "$out/bin/wpscan" \
17 --prefix PATH : ${lib.makeBinPath [ curl ]}
18 '';
19
20 passthru.updateScript = ./update.sh;
21
22 meta = with lib; {
23 description = "Black box WordPress vulnerability scanner";
24 homepage = "https://wpscan.org/";
25 changelog = "https://github.com/wpscanteam/wpscan/releases";
26 license = licenses.unfreeRedistributable;
27 maintainers = with maintainers; [
28 nyanloutre
29 manveru
30 ];
31 platforms = platforms.unix;
32 };
33}