Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "dalfox"; 8 version = "2.9.0"; 9 10 src = fetchFromGitHub { 11 owner = "hahwul"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 sha256 = "sha256-AG5CNqkxPQJQ+HN3JGUIgSYxgFigmUqVGn1yAHmo7Mo="; 15 }; 16 17 vendorSha256 = "sha256-OLT85GOcTnWmU+ZRem2+vY29nzvzXhnmIN2W+U6phPk="; 18 19 # Tests require network access 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Tool for analysing parameter and XSS scanning"; 24 homepage = "https://github.com/hahwul/dalfox"; 25 changelog = "https://github.com/hahwul/dalfox/releases/tag/v${version}"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ fab ]; 28 }; 29}