depot/third_party/nixpkgs/pkgs/tools/security/wpscan/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

30 lines
574 B
Nix

{ lib
, bundlerApp
, 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;
};
}