depot/third_party/nixpkgs/pkgs/tools/security/wpscan/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

28 lines
574 B
Nix

{ lib
, bundlerApp
, makeWrapper
, curl
}:
bundlerApp {
pname = "wpscan";
gemdir = ./.;
exes = [ "wpscan" ];
nativeBuildInputs = [ 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;
};
}