Merge pull request #205116 from raboof/cve-add-version-test
pythonPackages.cvelib: add version test
This commit is contained in:
commit
82acf0068a
|
@ -6,6 +6,8 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
|
, testers
|
||||||
|
, cve
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -38,10 +40,13 @@ buildPythonPackage rec {
|
||||||
"cvelib"
|
"cvelib"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion { package = cve; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "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";
|
homepage = "https://github.com/RedHatProductSecurity/cvelib";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ raboof ];
|
maintainers = with maintainers; [ raboof ];
|
||||||
|
mainProgram = "cve";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue