depot/third_party/nixpkgs/pkgs/tools/security/wpscan/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

29 lines
639 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/";
changelog = "https://github.com/wpscanteam/wpscan/releases";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ nyanloutre manveru ];
platforms = platforms.unix;
};
}