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

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

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

  passthru.updateScript = ./update.sh;

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