summary refs log tree commit diff
path: root/pkgs/tools/security/wpscan/default.nix
blob: e7a784c1a7796acaea5746805ff419d7e2a40687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ bundlerApp, lib, makeWrapper, curl }:

bundlerApp {
  pname = "wpscan";
  gemdir = ./.;
  exes = [ "wpscan" ];

  buildInputs = [ makeWrapper ];
  postBuild = ''
    wrapProgram "$out/bin/wpscan" \
      --prefix PATH : ${lib.makeBinPath [ curl ]}
  '';

  meta = with lib; {
    description = "Black box WordPress vulnerability scanner";
    homepage    = "https://wpscan.org/";
    license     = licenses.unfreeRedistributable;
    maintainers = with maintainers; [ nyanloutre manveru ];
    platforms   = platforms.unix;
  };
}