python312Packages.cyclonedx-python-lib: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-06 13:48:02 +02:00
parent 51da4621cd
commit a96f5b3439

View File

@ -1,24 +1,25 @@
{ lib
, buildPythonPackage
, ddt
, fetchFromGitHub
, importlib-metadata
, jsonschema
, license-expression
, lxml
, packageurl-python
, py-serializable
, pythonRelaxDepsHook
, poetry-core
, pytestCheckHook
, pythonOlder
, requirements-parser
, sortedcontainers
, setuptools
, toml
, types-setuptools
, types-toml
, xmldiff
{
lib,
buildPythonPackage,
ddt,
fetchFromGitHub,
importlib-metadata,
jsonschema,
license-expression,
lxml,
packageurl-python,
py-serializable,
pythonRelaxDepsHook,
poetry-core,
pytestCheckHook,
pythonOlder,
requirements-parser,
sortedcontainers,
setuptools,
toml,
types-setuptools,
types-toml,
xmldiff,
}:
buildPythonPackage rec {
@ -35,13 +36,9 @@ buildPythonPackage rec {
hash = "sha256-z+QBjMT0L7dqCJvbwok9TWQajIPzmAq3XPLWFxmhPsk=";
};
build-system = [
poetry-core
];
build-system = [ poetry-core ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
importlib-metadata
@ -64,21 +61,15 @@ buildPythonPackage rec {
xmldiff
];
pythonImportsCheck = [
"cyclonedx"
];
pythonImportsCheck = [ "cyclonedx" ];
pythonRelaxDeps = [
"py-serializable"
];
pythonRelaxDeps = [ "py-serializable" ];
preCheck = ''
export PYTHONPATH=tests''${PYTHONPATH+:$PYTHONPATH}
'';
pytestFlagsArray = [
"tests/"
];
pytestFlagsArray = [ "tests/" ];
disabledTests = [
# These tests require network access