Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, bundlerApp 3, makeWrapper 4, curl 5}: 6 7bundlerApp { 8 pname = "wpscan"; 9 gemdir = ./.; 10 exes = [ "wpscan" ]; 11 12 nativeBuildInputs = [ makeWrapper ]; 13 14 postBuild = '' 15 wrapProgram "$out/bin/wpscan" \ 16 --prefix PATH : ${lib.makeBinPath [ curl ]} 17 ''; 18 19 passthru.updateScript = ./update.sh; 20 21 meta = with lib; { 22 description = "Black box WordPress vulnerability scanner"; 23 homepage = "https://wpscan.org/"; 24 license = licenses.unfreeRedistributable; 25 maintainers = with maintainers; [ nyanloutre manveru ]; 26 platforms = platforms.unix; 27 }; 28}