mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
77ed57b3ed
Tool to work with CVEs https://github.com/projectdiscovery/cvemap
37 lines
764 B
Nix
37 lines
764 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cvemap";
|
|
version = "0.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "cvemap";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-aeUYcgBTHWWLTuAXnnc73yXaC3yLZzruqvedUYCnht4=";
|
|
};
|
|
|
|
vendorHash = "sha256-VQGWi01mOP2N4oYsaDK7wn/+hSFEDHhSma9DOZ06Z3k=";
|
|
|
|
subPackages = [
|
|
"cmd/cvemap/"
|
|
];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to work with CVEs";
|
|
homepage = "https://github.com/projectdiscovery/cvemap";
|
|
changelog = "https://github.com/projectdiscovery/cvemap/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "cvemap";
|
|
};
|
|
}
|