diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-03 21:18:14 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-03 21:18:14 +0200 |
commit | 12571055cfb2fb32b096d786b9766a76e9f7e93f (patch) | |
tree | b68128353869abebdc3860adcd5733bb13140ae2 /pkgs/tools/security/gotestwaf | |
parent | e4f82b37226678a75db48b77007a6cca4784a3a6 (diff) | |
download | nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar.gz nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar.bz2 nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar.lz nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar.xz nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.tar.zst nixpkgs-12571055cfb2fb32b096d786b9766a76e9f7e93f.zip |
gotestwaf: init at 0.3.1
Diffstat (limited to 'pkgs/tools/security/gotestwaf')
-rw-r--r-- | pkgs/tools/security/gotestwaf/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/gotestwaf/default.nix b/pkgs/tools/security/gotestwaf/default.nix new file mode 100644 index 00000000000..7783cbf4688 --- /dev/null +++ b/pkgs/tools/security/gotestwaf/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "gotestwaf"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "wallarm"; + repo = pname; + rev = "v${version}"; + sha256 = "0c627bxx0mlxhc1fsd2k3x1lm5855pl215m88la662d70559z6k8"; + }; + + vendorSha256 = null; + + postFixup = '' + # Rename binary + mv $out/bin/cmd $out/bin/${pname} + ''; + + meta = with lib; { + description = "Tool for API and OWASP attack simulation"; + homepage = "https://github.com/wallarm/gotestwaf"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |