Loading pkgs/development/python-modules/cyclonedx-python-lib/default.nix +16 −12 Original line number Diff line number Diff line Loading @@ -35,8 +35,9 @@ buildPythonPackage rec { hash = "sha256-yBBtE9DfHzUNXHMCo3KoUAAsvkBshczmVtMCUTtQ9zg="; }; build-system = [ poetry-core ]; pythonRelaxDeps = [ "py-serializable" ]; build-system = [ poetry-core ]; dependencies = [ importlib-metadata Loading @@ -51,18 +52,27 @@ buildPythonPackage rec { types-toml ]; nativeCheckInputs = [ ddt passthru.optional-dependencies = { validation = [ jsonschema lxml ]; json-validation = [ jsonschema ]; xml-validation = [ lxml ]; }; nativeCheckInputs = [ ddt pytestCheckHook xmldiff ]; ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "cyclonedx" ]; pythonRelaxDeps = [ "py-serializable" ]; preCheck = '' export PYTHONPATH=tests''${PYTHONPATH+:$PYTHONPATH} ''; Loading @@ -82,12 +92,6 @@ buildPythonPackage rec { "tests/test_output_xml.py" ]; passthru.optional-dependencies = { validation = [ jsonschema ]; }; meta = with lib; { description = "Python library for generating CycloneDX SBOMs"; homepage = "https://github.com/CycloneDX/cyclonedx-python-lib"; Loading Loading
pkgs/development/python-modules/cyclonedx-python-lib/default.nix +16 −12 Original line number Diff line number Diff line Loading @@ -35,8 +35,9 @@ buildPythonPackage rec { hash = "sha256-yBBtE9DfHzUNXHMCo3KoUAAsvkBshczmVtMCUTtQ9zg="; }; build-system = [ poetry-core ]; pythonRelaxDeps = [ "py-serializable" ]; build-system = [ poetry-core ]; dependencies = [ importlib-metadata Loading @@ -51,18 +52,27 @@ buildPythonPackage rec { types-toml ]; nativeCheckInputs = [ ddt passthru.optional-dependencies = { validation = [ jsonschema lxml ]; json-validation = [ jsonschema ]; xml-validation = [ lxml ]; }; nativeCheckInputs = [ ddt pytestCheckHook xmldiff ]; ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "cyclonedx" ]; pythonRelaxDeps = [ "py-serializable" ]; preCheck = '' export PYTHONPATH=tests''${PYTHONPATH+:$PYTHONPATH} ''; Loading @@ -82,12 +92,6 @@ buildPythonPackage rec { "tests/test_output_xml.py" ]; passthru.optional-dependencies = { validation = [ jsonschema ]; }; meta = with lib; { description = "Python library for generating CycloneDX SBOMs"; homepage = "https://github.com/CycloneDX/cyclonedx-python-lib"; Loading