mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
gotestwaf: 0.4.19 -> 0.5.5 (#344286)
This commit is contained in:
commit
114bbb63eb
@ -8,16 +8,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gotestwaf";
|
pname = "gotestwaf";
|
||||||
version = "0.4.19";
|
version = "0.5.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wallarm";
|
owner = "wallarm";
|
||||||
repo = "gotestwaf";
|
repo = "gotestwaf";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-ax2HPhdaqawpFe2AZg3SVsEJLG7gEgL7632iRADpaa8=";
|
hash = "sha256-stGjxv9cgYxxclQpyytN6dhFm2G1Gxbf9MdyKw6gEC4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = "sha256-mPqCphweDF9RQibdjTaXXfXdO8NENHVMdIPxrJEw2g4=";
|
||||||
|
|
||||||
# Some tests require networking as of v0.4.0
|
# Some tests require networking as of v0.4.0
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
@ -28,11 +28,6 @@ buildGoModule rec {
|
|||||||
"-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}"
|
"-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
# Rename binary
|
|
||||||
mv $out/bin/cmd $out/bin/${pname}
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
command = "gotestwaf --version";
|
command = "gotestwaf --version";
|
||||||
package = gotestwaf;
|
package = gotestwaf;
|
||||||
@ -41,10 +36,10 @@ buildGoModule rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for API and OWASP attack simulation";
|
description = "Tool for API and OWASP attack simulation";
|
||||||
mainProgram = "gotestwaf";
|
|
||||||
homepage = "https://github.com/wallarm/gotestwaf";
|
homepage = "https://github.com/wallarm/gotestwaf";
|
||||||
changelog = "https://github.com/wallarm/gotestwaf/releases/tag/v${version}";
|
changelog = "https://github.com/wallarm/gotestwaf/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "gotestwaf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -37589,7 +37589,9 @@ with pkgs;
|
|||||||
|
|
||||||
gobuster = callPackage ../tools/security/gobuster { };
|
gobuster = callPackage ../tools/security/gobuster { };
|
||||||
|
|
||||||
gotestwaf = callPackage ../tools/security/gotestwaf { };
|
gotestwaf = callPackage ../tools/security/gotestwaf {
|
||||||
|
buildGoModule = buildGo123Module;
|
||||||
|
};
|
||||||
|
|
||||||
gotrue = callPackage ../tools/security/gotrue { };
|
gotrue = callPackage ../tools/security/gotrue { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user