15 buildPythonPackage rec {
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
23 owner = "RedHatProductSecurity";
25 rev = "refs/tags/${version}";
26 hash = "sha256-yDsnw7jw1NDs3dy5RUY4a+dWZzORyFG9kpR4WaJNbEE=";
30 # collective.checkdocs is unmaintained for over 10 years
31 substituteInPlace pyproject.toml \
32 --replace-fail '"collective.checkdocs",' ""
35 build-system = [ setuptools ];
43 nativeCheckInputs = [ pytestCheckHook ];
45 pythonImportsCheck = [ "cvelib" ];
47 passthru.tests.version = testers.testVersion { package = cve; };
50 description = "Library and a command line interface for the CVE Services API";
51 homepage = "https://github.com/RedHatProductSecurity/cvelib";
52 changelog = "https://github.com/RedHatProductSecurity/cvelib/blob/${version}/CHANGELOG.md";
53 license = licenses.mit;
54 maintainers = with maintainers; [ raboof ];