cve: init at 1.0.0
A library and a command line interface for the CVE Services API
This commit is contained in:
parent
f634d427b0
commit
54bfd51169
3 changed files with 36 additions and 0 deletions
32
pkgs/development/python-modules/cvelib/default.nix
Normal file
32
pkgs/development/python-modules/cvelib/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, click
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvelib";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedHatProductSecurity";
|
||||
repo = "cvelib";
|
||||
rev = "tags/${version}";
|
||||
sha256 = "sha256-KUj9Cnvl7r8NMmZvVj5CB0uZvLNK5aHcLc+NzxFrv0I=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
|
||||
propagatedBuildInputs = [ requests click ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cvelib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library and a command line interface for the CVE Services API";
|
||||
homepage = "https://github.com/RedHatProductSecurity/cvelib";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ raboof ];
|
||||
};
|
||||
}
|
|
@ -260,6 +260,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
cve = with python3Packages; toPythonApplication cvelib;
|
||||
|
||||
fiche = callPackage ../servers/fiche { };
|
||||
|
||||
fishnet = callPackage ../servers/fishnet { };
|
||||
|
|
|
@ -2189,6 +2189,8 @@ in {
|
|||
|
||||
curve25519-donna = callPackage ../development/python-modules/curve25519-donna { };
|
||||
|
||||
cvelib = callPackage ../development/python-modules/cvelib { };
|
||||
|
||||
cvxopt = callPackage ../development/python-modules/cvxopt { };
|
||||
|
||||
cvxpy = callPackage ../development/python-modules/cvxpy { };
|
||||
|
|
Loading…
Reference in a new issue