From 8a9b30ede7dcb3a979c80ee0feed19146907c8ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 10:22:00 +0200 Subject: [PATCH] python312Packages.pyquil: format with nixfmt --- .../python-modules/pyquil/default.nix | 73 +++++++++---------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/pkgs/development/python-modules/pyquil/default.nix b/pkgs/development/python-modules/pyquil/default.nix index 825e5b61543d..dc718777af70 100644 --- a/pkgs/development/python-modules/pyquil/default.nix +++ b/pkgs/development/python-modules/pyquil/default.nix @@ -1,31 +1,32 @@ -{ lib -, buildPythonPackage -, deprecated -, fetchFromGitHub -, importlib-metadata -, ipython -, lark -, matplotlib-inline -, nest-asyncio -, networkx -, numpy -, packaging -, poetry-core -, pydantic -, pytest-asyncio -, pytest-mock -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, qcs-sdk-python -, respx -, rpcq -, scipy -, syrupy -, tenacity -, types-deprecated -, types-python-dateutil -, types-retry +{ + lib, + buildPythonPackage, + deprecated, + fetchFromGitHub, + importlib-metadata, + ipython, + lark, + matplotlib-inline, + nest-asyncio, + networkx, + numpy, + packaging, + poetry-core, + pydantic, + pytest-asyncio, + pytest-mock, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + qcs-sdk-python, + respx, + rpcq, + scipy, + syrupy, + tenacity, + types-deprecated, + types-python-dateutil, + types-retry, }: buildPythonPackage rec { @@ -49,13 +50,9 @@ buildPythonPackage rec { "qcs-sdk-python" ]; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ deprecated @@ -72,9 +69,7 @@ buildPythonPackage rec { types-deprecated types-python-dateutil types-retry - ] ++ lib.optionals (pythonOlder "3.8") [ - importlib-metadata - ]; + ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; nativeCheckInputs = [ nest-asyncio @@ -89,9 +84,7 @@ buildPythonPackage rec { # tests hang doCheck = false; - pythonImportsCheck = [ - "pyquil" - ]; + pythonImportsCheck = [ "pyquil" ]; meta = with lib; { description = "Python library for creating Quantum Instruction Language (Quil) programs";