Merge pull request #224583 from ocfox/cyclonedx-python-lib-4.0.0

python3Packages.cyclonedx-python-lib: 3.1.5 -> 4.0.0
This commit is contained in:
Fabian Affolter
2023-04-04 08:01:48 +02:00
committed by GitHub
@@ -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}
'';