python312Packages.pyquil: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 10:22:00 +02:00
parent b61fa31e87
commit 8a9b30ede7
1 changed files with 33 additions and 40 deletions

View File

@ -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";