python3Packages.cyclonedx-python-lib: 3.1.5 -> 4.0.0

This commit is contained in:
ocfox 2023-04-04 12:32:52 +08:00
parent b01f185e48
commit 2cc4e02829
No known key found for this signature in database
GPG Key ID: 8C2212388306143C

View File

@ -6,9 +6,10 @@
, jsonschema
, lxml
, packageurl-python
, py-serializable
, pythonRelaxDepsHook
, poetry-core
, pytestCheckHook
, python
, pythonOlder
, requirements-parser
, sortedcontainers
@ -21,7 +22,7 @@
buildPythonPackage rec {
pname = "cyclonedx-python-lib";
version = "3.1.5";
version = "4.0.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -30,11 +31,12 @@ buildPythonPackage rec {
owner = "CycloneDX";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4lA8OdmvQD94jTeDf+Iz7ZyEQ9fZzCxnXQG9Ir8FKhk=";
hash = "sha256-xXtUEunPYiuVh+1o4xoFutGstZ918ju5xK5zLvgbLHc=";
};
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -44,6 +46,7 @@ buildPythonPackage rec {
setuptools
sortedcontainers
toml
py-serializable
types-setuptools
types-toml
];
@ -60,6 +63,10 @@ buildPythonPackage rec {
"cyclonedx"
];
pythonRelaxDeps = [
"py-serializable"
];
preCheck = ''
export PYTHONPATH=tests''${PYTHONPATH+:$PYTHONPATH}
'';