diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/wpscan/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/wpscan/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/wpscan/default.nix b/nixpkgs/pkgs/tools/security/wpscan/default.nix new file mode 100644 index 000000000000..85455325f695 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/wpscan/default.nix @@ -0,0 +1,21 @@ +{ bundlerApp, lib, makeWrapper, curl }: + +bundlerApp { + pname = "wpscan"; + gemdir = ./.; + exes = [ "wpscan" ]; + + buildInputs = [ makeWrapper ]; + postBuild = '' + wrapProgram "$out/bin/wpscan" \ + --prefix PATH : ${lib.makeBinPath [ curl ]} + ''; + + meta = with lib; { + description = "Black box WordPress vulnerability scanner"; + homepage = https://wpscan.org/; + license = licenses.unfreeRedistributable; + maintainers = with maintainers; [ nyanloutre manveru ]; + platforms = platforms.unix; + }; +} |