Commit 63288341 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.appthreat-vulnerability-db: 2.0.9 -> 3.0.2

parent 4df5f3f2
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
{ lib
, appdirs
, buildPythonPackage
, cvss
, fetchFromGitHub
, requests
, appdirs
, tabulate
, msgpack
, orjson
, semver
, packageurl-python
, pythonOlder
, pytestCheckHook
, pythonOlder
, requests
, semver
, tabulate
}:

buildPythonPackage rec {
  pname = "appthreat-vulnerability-db";
  version = "2.0.9";
  version = "3.0.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -23,17 +24,18 @@ buildPythonPackage rec {
    owner = "AppThreat";
    repo = "vulnerability-db";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-A5mphFJEjOkTG5Rv7tb4hm5eDMSir69gqkbHYn6109I=";
    sha256 = "sha256-y+ZOTvWnqSHBpuqquA0IvkWj1B/BmovTUqg1Oddjd5c=";
  };

  propagatedBuildInputs = [
    requests
    appdirs
    tabulate
    cvss
    msgpack
    orjson
    semver
    packageurl-python
    requests
    semver
    tabulate
  ];

  checkInputs = [
@@ -62,6 +64,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Vulnerability database and package search for sources such as OSV, NVD, GitHub and npm";
    homepage = "https://github.com/appthreat/vulnerability-db";
    changelog = "https://github.com/AppThreat/vulnerability-db/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };