Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "katana"; 8 version = "1.0.1"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-LXyYdfBrqtMN4qGakQDG/axzmDTYkwCun2xw9Heaejk="; 15 }; 16 17 vendorHash = "sha256-MEmVmokQX/HfBPvObeW1M5L6zm2KXB1yzGmNFBjt+i0="; 18 19 CGO_ENABLED = 0; 20 21 subPackages = [ "cmd/katana" ]; 22 23 meta = with lib; { 24 description = "A next-generation crawling and spidering framework"; 25 homepage = "https://github.com/projectdiscovery/katana"; 26 changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ dit7ya ]; 29 }; 30}