evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / go / go-exploitdb / package.nix
blobde2fd3426fe3f76b2daf0d84ee4fcda2defd4e21
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "go-exploitdb";
8   version = "0.5.0";
10   src = fetchFromGitHub {
11     owner = "vulsio";
12     repo = "go-exploitdb";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-7S6DuPCsT3mP4/W5Lsyg4RS7Km8dmYkrUhvSjlRhahc=";
15   };
17   vendorHash = "sha256-uqXNRfWWNvpDC3q+eDX3NOQIHz0di4/Vjh7r8OMsTr4=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X=github.com/vulsio/go-exploitdb/config.Version=${version}"
23   ];
25   meta = with lib; {
26     description = "Tool for searching Exploits from Exploit Databases, etc";
27     mainProgram = "go-exploitdb";
28     homepage = "https://github.com/vulsio/go-exploitdb";
29     changelog = "https://github.com/vulsio/go-exploitdb/releases/tag/v${version}";
30     license = licenses.mit;
31     maintainers = with maintainers; [ fab ];
32   };