at 23.11-beta 32 lines 787 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "go-exploitdb"; 8 version = "0.4.6"; 9 10 src = fetchFromGitHub { 11 owner = "vulsio"; 12 repo = "go-exploitdb"; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-xQQnMlj5dxvvGPqzMyMVloJQe5qY2EPQkYaw3RpgxjI="; 15 }; 16 17 vendorHash = "sha256-1HvhphLJH0572au2iSXVjN35JCpZr1hesnMrIpdOBRc="; 18 19 ldflags = [ 20 "-s" 21 "-w" 22 "-X=github.com/vulsio/go-exploitdb/config.Version=${version}" 23 ]; 24 25 meta = with lib; { 26 description = "Tool for searching Exploits from Exploit Databases, etc"; 27 homepage = "https://github.com/vulsio/go-exploitdb"; 28 changelog = "https://github.com/vulsio/go-exploitdb/releases/tag/v${version}"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}