python312Packages.cyclonedx-python-lib: format with nixfmt
This commit is contained in:
parent
51da4621cd
commit
a96f5b3439
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user