Merge pull request #300332 from fabaff/cvemap

cvemap: init at 0.0.6
This commit is contained in:
Weijia Wang 2024-03-31 05:30:13 +02:00 committed by GitHub
commit 28a658612c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,36 @@
{ 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";
};
}