13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-stGjxv9cgYxxclQpyytN6dhFm2G1Gxbf9MdyKw6gEC4=";
20 vendorHash = "sha256-mPqCphweDF9RQibdjTaXXfXdO8NENHVMdIPxrJEw2g4=";
22 # Some tests require networking as of v0.4.0
28 "-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}"
31 passthru.tests.version = testers.testVersion {
32 command = "gotestwaf --version";
34 version = "v${version}";
38 description = "Tool for API and OWASP attack simulation";
39 homepage = "https://github.com/wallarm/gotestwaf";
40 changelog = "https://github.com/wallarm/gotestwaf/releases/tag/v${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];
43 mainProgram = "gotestwaf";