Merge pull request #205116 from raboof/cve-add-version-test

pythonPackages.cvelib: add version test
This commit is contained in:
Arnout Engelen 2023-01-07 11:23:12 +01:00 committed by GitHub
commit 82acf0068a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@
, pytestCheckHook
, pythonOlder
, requests
, testers
, cve
}:
buildPythonPackage rec {
@ -38,10 +40,13 @@ buildPythonPackage rec {
"cvelib"
];
passthru.tests.version = testers.testVersion { package = cve; };
meta = with lib; {
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 ];
mainProgram = "cve";
};
}