Merge pull request #200947 from fabaff/cvelib-bump
python310Packages.cvelib: 1.0.0 -> 1.1.0
This commit is contained in:
commit
2e9979e153
1 changed files with 23 additions and 8 deletions
|
@ -1,30 +1,45 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, jsonschema
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvelib";
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedHatProductSecurity";
|
||||
repo = "cvelib";
|
||||
rev = "tags/${version}";
|
||||
sha256 = "sha256-KUj9Cnvl7r8NMmZvVj5CB0uZvLNK5aHcLc+NzxFrv0I=";
|
||||
hash = "sha256-MZzCTUleEddIlZBRhxD8ZgaWAOFcpa5hvNuIjrBJRzk=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
|
||||
propagatedBuildInputs = [ requests click ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
jsonschema
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cvelib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library and a command line interface for the CVE Services API";
|
||||
description = "Library and a command line interface for the CVE Services API";
|
||||
homepage = "https://github.com/RedHatProductSecurity/cvelib";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ raboof ];
|
||||
|
|
Loading…
Reference in a new issue