diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-22 00:01:59 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-22 00:01:59 +0100 |
commit | 6785cd4ae37a783b7d24ab7c8e1e7ac11bc62575 (patch) | |
tree | 4cc4408061b2768ce69f3868ff25537a679ab28d /pkgs/by-name/nv | |
parent | 5614bd58587f1337aca11d7b2bdfcca4ca44fccc (diff) |
nvdtools: init at 0.1.5
Tools to work with the feeds (vulnerabilities, CPE dictionary etc.) distributed by National Vulnerability Databas https://github.com/facebookincubator/nvdtools
Diffstat (limited to 'pkgs/by-name/nv')
-rw-r--r-- | pkgs/by-name/nv/nvdtools/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/nv/nvdtools/package.nix b/pkgs/by-name/nv/nvdtools/package.nix new file mode 100644 index 0000000000000..b797c50da4477 --- /dev/null +++ b/pkgs/by-name/nv/nvdtools/package.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "nvdtools"; + version = "0.1.5"; + + src = fetchFromGitHub { + owner = "facebookincubator"; + repo = "nvdtools"; + rev = "refs/tags/v${version}"; + hash = "sha256-uB7dfqGaoP9Xx04BykscIFQ2rckaMaj93gh5mhgMqfw="; + }; + + vendorHash = "sha256-DzhP42DaddIm+/Z3a83rWX5WY+tM1P+vBNe6B91L7E8="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Tools to work with the feeds (vulnerabilities, CPE dictionary etc.) distributed by National Vulnerability Database"; + homepage = "https://github.com/facebookincubator/nvdtools"; + changelog = "https://github.com/facebookincubator/nvdtools/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} |