nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 44 lines 988 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 versionCheckHook, 6}: 7 8buildGoModule rec { 9 pname = "gotestwaf"; 10 version = "0.5.8"; 11 12 src = fetchFromGitHub { 13 owner = "wallarm"; 14 repo = "gotestwaf"; 15 tag = "v${version}"; 16 hash = "sha256-PZM3+xQnoUat214UCaWtB2NmY6ju4EdfjFbXSdS3IrE="; 17 }; 18 19 vendorHash = "sha256-5rLYepwuy0B92tshVInYPfKyie9n+Xjh4x8XALcRHm4="; 20 21 nativeInstallCheckInputs = [ versionCheckHook ]; 22 23 ldflags = [ 24 "-w" 25 "-s" 26 "-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}" 27 ]; 28 29 # Tests require network access 30 doCheck = false; 31 32 doInstallCheck = true; 33 34 versionCheckProgramArg = "--version"; 35 36 meta = { 37 description = "Tool for API and OWASP attack simulation"; 38 homepage = "https://github.com/wallarm/gotestwaf"; 39 changelog = "https://github.com/wallarm/gotestwaf/releases/tag/v${version}"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 mainProgram = "gotestwaf"; 43 }; 44}