python312Packages.pyquil: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 10:22:00 +02:00
parent b61fa31e87
commit 8a9b30ede7

View File

@ -1,31 +1,32 @@
{ lib {
, buildPythonPackage lib,
, deprecated buildPythonPackage,
, fetchFromGitHub deprecated,
, importlib-metadata fetchFromGitHub,
, ipython importlib-metadata,
, lark ipython,
, matplotlib-inline lark,
, nest-asyncio matplotlib-inline,
, networkx nest-asyncio,
, numpy networkx,
, packaging numpy,
, poetry-core packaging,
, pydantic poetry-core,
, pytest-asyncio pydantic,
, pytest-mock pytest-asyncio,
, pytestCheckHook pytest-mock,
, pythonOlder pytestCheckHook,
, pythonRelaxDepsHook pythonOlder,
, qcs-sdk-python pythonRelaxDepsHook,
, respx qcs-sdk-python,
, rpcq respx,
, scipy rpcq,
, syrupy scipy,
, tenacity syrupy,
, types-deprecated tenacity,
, types-python-dateutil types-deprecated,
, types-retry types-python-dateutil,
types-retry,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -49,13 +50,9 @@ buildPythonPackage rec {
"qcs-sdk-python" "qcs-sdk-python"
]; ];
build-system = [ build-system = [ poetry-core ];
poetry-core
];
nativeBuildInputs = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDepsHook
];
dependencies = [ dependencies = [
deprecated deprecated
@ -72,9 +69,7 @@ buildPythonPackage rec {
types-deprecated types-deprecated
types-python-dateutil types-python-dateutil
types-retry types-retry
] ++ lib.optionals (pythonOlder "3.8") [ ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
importlib-metadata
];
nativeCheckInputs = [ nativeCheckInputs = [
nest-asyncio nest-asyncio
@ -89,9 +84,7 @@ buildPythonPackage rec {
# tests hang # tests hang
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "pyquil" ];
"pyquil"
];
meta = with lib; { meta = with lib; {
description = "Python library for creating Quantum Instruction Language (Quil) programs"; description = "Python library for creating Quantum Instruction Language (Quil) programs";