git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #109951 from fabaff/go-cve-search

go-cve-search: init at 0.1.3

commit7e7a11730430b1f4ad659a092b8c56d9828f8b23 authorSandro <sandro.jaeckel@gmail.com> dateThu 28 Jan 2021, 18:29 (6 years ago) parent8e11fa0796676e
2 files changed+34
pkgs/tools/security/go-cve-search/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/go-cve-search/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ buildGoModule
2+, fetchFromGitHub
3+, lib
4+}:
5+
6+buildGoModule rec {
7+ pname = "go-cve-search";
8+ version = "0.1.3";
9+
10+ src = fetchFromGitHub {
11+ owner = "s-index";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "0hbv829daviskwsyp9xjcvl52m22986b2cylf2rldnxw5x8zqdvd";
15+ };
16+
17+ vendorSha256 = "0bhxk39ivbkhwjvq6415lax1pzn208b7px1id0d1nry93bk2zynd";
18+
19+ # Tests requires network access
20+ doCheck = false;
21+
22+ meta = with lib; {
23+ description = "A lightweight CVE search tool";
24+ longDescription = ''
25+ go-cve-search is a lightweight tool to search CVE (Common Vulnerabilities
26+ and Exposures).
27+ '';
28+ homepage = "https://github.com/s-index/go-cve-search";
29+ license = with licenses; [ mit ];
30+ maintainers = with maintainers; [ fab ];
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -1150,6 +1150,8 @@ in
11501150
11511151 go-check = callPackage ../development/tools/check { };
11521152
1153+ go-cve-search = callPackage ../tools/security/go-cve-search { };
1154+
11531155 chkcrontab = callPackage ../tools/admin/chkcrontab { };
11541156
11551157 claws = callPackage ../tools/misc/claws { };