diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-28 18:29:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 18:29:26 +0100 |
commit | 7e7a11730430b1f4ad659a092b8c56d9828f8b23 (patch) | |
tree | c64ffe347650578b46ee8bfac2d0fd28ad3083a0 | |
parent | 8e11fa01531087f4bf223a403282fa6394b9d4d4 (diff) | |
parent | 796676e6ac4aa1c626e817a0b0224668f3c194fa (diff) |
Merge pull request #109951 from fabaff/go-cve-search
go-cve-search: init at 0.1.3
-rw-r--r-- | pkgs/tools/security/go-cve-search/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/go-cve-search/default.nix b/pkgs/tools/security/go-cve-search/default.nix new file mode 100644 index 000000000000..e68970b0b267 --- /dev/null +++ b/pkgs/tools/security/go-cve-search/default.nix @@ -0,0 +1,32 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "go-cve-search"; + version = "0.1.3"; + + src = fetchFromGitHub { + owner = "s-index"; + repo = pname; + rev = "v${version}"; + sha256 = "0hbv829daviskwsyp9xjcvl52m22986b2cylf2rldnxw5x8zqdvd"; + }; + + vendorSha256 = "0bhxk39ivbkhwjvq6415lax1pzn208b7px1id0d1nry93bk2zynd"; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0a863bac1a73..e7fc86b6bbe9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1150,6 +1150,8 @@ in go-check = callPackage ../development/tools/check { }; + go-cve-search = callPackage ../tools/security/go-cve-search { }; + chkcrontab = callPackage ../tools/admin/chkcrontab { }; claws = callPackage ../tools/misc/claws { }; |