croc: 10.1.1 -> 10.1.3 (#364662)
[NixPkgs.git] / pkgs / by-name / cv / cvemap / package.nix
blob0146986657db36a942651c3a7638965c67b8004d
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "cvemap";
9   version = "0.0.7";
11   src = fetchFromGitHub {
12     owner = "projectdiscovery";
13     repo = "cvemap";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-Ste08J3KIJmugKZegU82wq6N+B5DaHc8Z0UtqKsUYE8=";
16   };
18   vendorHash = "sha256-+gYJkKJLUsCbh0JhVNOdr8U5pgWYjD56KZ0VePoYecU=";
20   subPackages = [
21     "cmd/cvemap/"
22   ];
24   ldflags = [
25     "-s"
26     "-w"
27   ];
29   meta = with lib; {
30     description = "Tool to work with CVEs";
31     homepage = "https://github.com/projectdiscovery/cvemap";
32     changelog = "https://github.com/projectdiscovery/cvemap/releases/tag/v${version}";
33     license = licenses.mit;
34     maintainers = with maintainers; [ fab ];
35     mainProgram = "cvemap";
36   };