2021-01-19 10:59:43 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-cve-search";
|
2023-02-19 00:24:00 +00:00
|
|
|
version = "0.1.4";
|
2021-01-19 10:59:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "s-index";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-19 00:24:00 +00:00
|
|
|
sha256 = "sha256-ofa6lfA3XKj70YM6AVNKRgGI53teK7OB09luAom8HpQ=";
|
2021-01-19 10:59:43 +00:00
|
|
|
};
|
|
|
|
|
2023-02-19 00:24:00 +00:00
|
|
|
vendorHash = "sha256-QXYjLPrfIPcZE8UTcE1kR9QQIusR/rAJG+e/IQ4P0PU=";
|
2021-01-19 10:59:43 +00:00
|
|
|
|
|
|
|
# Tests requires network access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A lightweight CVE search tool";
|
|
|
|
longDescription = ''
|
|
|
|
go-cve-search is a lightweight tool to search CVE (Common Vulnerabilities
|
|
|
|
and Exposures).
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/s-index/go-cve-search";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|