Commit a96f5b34 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.cyclonedx-python-lib: format with nixfmt

parent 51da4621
Loading
Loading
Loading
Loading
+27 −36
Original line number Diff line number Diff line
{ 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