Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "go-dork"; 8 version = "1.0.2"; 9 10 src = fetchFromGitHub { 11 owner = "dwisiswant0"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-tFmXutX3UnKAFFS4mO4PCv7Bhw1wJ7qjdA1ROryqYZU="; 15 }; 16 17 vendorHash = "sha256-6V58RRRPamBMDAf0gg4sQMQkoD5dWauCFtPrwf5EasI="; 18 19 meta = with lib; { 20 description = "Dork scanner"; 21 homepage = "https://github.com/dwisiswant0/go-dork"; 22 changelog = "https://github.com/dwisiswant0/go-dork/releases/tag/v${version}"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ fab ]; 25 }; 26}