Unverified Commit 82acf006 authored by Arnout Engelen's avatar Arnout Engelen Committed by GitHub
Browse files

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

pythonPackages.cvelib: add version test
parents b85ff6dd 0b8ac7d2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";
  };
}