Merge pull request #200947 from fabaff/cvelib-bump

python310Packages.cvelib: 1.0.0 -> 1.1.0
This commit is contained in:
Fabian Affolter 2022-11-13 10:59:29 +01:00 committed by GitHub
commit 2e9979e153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];