Merge pull request #312021 from josephst/20240515-python-quil
This commit is contained in:
commit
5e30349bbc
@ -8,6 +8,7 @@
|
||||
iso8601,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pydantic-settings,
|
||||
pyjwt,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
@ -60,6 +61,7 @@ buildPythonPackage rec {
|
||||
httpx
|
||||
iso8601
|
||||
pydantic
|
||||
pydantic-settings
|
||||
pyjwt
|
||||
python-dateutil
|
||||
retrying
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
@ -7,6 +8,8 @@
|
||||
pythonOlder,
|
||||
quil,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
libiconv,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
@ -40,6 +43,12 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [ quil ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
libiconv
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
@ -7,6 +8,7 @@
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
syrupy,
|
||||
libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -40,6 +42,8 @@ buildPythonPackage rec {
|
||||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
pythonImportsCheck = [ "numpy" ];
|
||||
|
Loading…
Reference in New Issue
Block a user