nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 21 lines 533 B view raw
1{ bundlerApp, lib, makeWrapper, curl }: 2 3bundlerApp { 4 pname = "wpscan"; 5 gemdir = ./.; 6 exes = [ "wpscan" ]; 7 8 buildInputs = [ makeWrapper ]; 9 postBuild = '' 10 wrapProgram "$out/bin/wpscan" \ 11 --prefix PATH : ${lib.makeBinPath [ curl ]} 12 ''; 13 14 meta = with lib; { 15 description = "Black box WordPress vulnerability scanner"; 16 homepage = "https://wpscan.org/"; 17 license = licenses.unfreeRedistributable; 18 maintainers = with maintainers; [ nyanloutre manveru ]; 19 platforms = platforms.unix; 20 }; 21}