From 33369e894c0f762972627aa7af78046d2b7edcfb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 14:30:08 +0200 Subject: [PATCH] python312Packages.stix2-patterns: format with nixfmt --- .../python-modules/stix2-patterns/default.nix | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/stix2-patterns/default.nix b/pkgs/development/python-modules/stix2-patterns/default.nix index 029a53c4619b..f1c48fd7e14b 100644 --- a/pkgs/development/python-modules/stix2-patterns/default.nix +++ b/pkgs/development/python-modules/stix2-patterns/default.nix @@ -1,11 +1,12 @@ -{ lib -, antlr4-python3-runtime -, buildPythonPackage -, fetchFromGitHub -, pytestCheckHook -, pythonOlder -, setuptools -, six +{ + lib, + antlr4-python3-runtime, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + pythonOlder, + setuptools, + six, }: buildPythonPackage rec { @@ -27,22 +28,16 @@ buildPythonPackage rec { --replace-fail "antlr4-python3-runtime~=" "antlr4-python3-runtime>=" ''; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ antlr4-python3-runtime six ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "stix2patterns" - ]; + pythonImportsCheck = [ "stix2patterns" ]; disabledTestPaths = [ # Exception: Could not deserialize ATN with version (expected 4)