File tree Expand file tree Collapse file tree 2 files changed +34
-24
lines changed
pkgs/development/python-modules Expand file tree Collapse file tree 2 files changed +34
-24
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 stdenv ,
4- attrs ,
5- autoray ? null ,
64 buildPythonPackage ,
7- duet ,
85 fetchFromGitHub ,
9- freezegun ,
6+
7+ # build-system
8+ setuptools ,
9+
10+ # dependencies
11+ attrs ,
12+ duet ,
1013 matplotlib ,
1114 networkx ,
1215 numpy ,
13- opt-einsum ,
1416 pandas ,
15- ply ,
16- pylatex ? null ,
17- pyquil ? null ,
18- pytest-asyncio ,
19- pytestCheckHook ,
20- pythonOlder ,
21- quimb ? null ,
2217 requests ,
2318 scipy ,
24- setuptools ,
2519 sortedcontainers ,
2620 sympy ,
2721 tqdm ,
2822 typing-extensions ,
23+ autoray ? null ,
24+ opt-einsum ,
25+ ply ,
26+ pylatex ? null ,
27+ pyquil ? null ,
28+ quimb ? null ,
29+
30+ # tests
31+ freezegun ,
32+ pytest-asyncio ,
33+ pytestCheckHook ,
34+
2935 withContribRequires ? false ,
3036} :
3137
@@ -34,8 +40,6 @@ buildPythonPackage rec {
3440 version = "1.4.1-unstable-2024-09-21" ;
3541 pyproject = true ;
3642
37- disabled = pythonOlder "3.10" ;
38-
3943 src = fetchFromGitHub {
4044 owner = "quantumlib" ;
4145 repo = "cirq" ;
@@ -77,9 +81,9 @@ buildPythonPackage rec {
7781 ] ;
7882
7983 nativeCheckInputs = [
80- pytestCheckHook
81- pytest-asyncio
8284 freezegun
85+ pytest-asyncio
86+ pytestCheckHook
8387 ] ;
8488
8589 disabledTestPaths = lib . optionals ( ! withContribRequires ) [
@@ -99,12 +103,12 @@ buildPythonPackage rec {
99103 "test_prepare_two_qubit_state_using_sqrt_iswap"
100104 ] ;
101105
102- meta = with lib ; {
106+ meta = {
103107 description = "Framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits" ;
104108 homepage = "https://github.com/quantumlib/cirq" ;
105109 changelog = "https://github.com/quantumlib/Cirq/releases/tag/v${ version } " ;
106- license = licenses . asl20 ;
107- maintainers = with maintainers ; [
110+ license = lib . licenses . asl20 ;
111+ maintainers = with lib . maintainers ; [
108112 drewrisinger
109113 fab
110114 ] ;
Original file line number Diff line number Diff line change 11{
22 buildPythonPackage ,
3+
4+ # build-system
5+ setuptools ,
6+
7+ # dependencies
38 cirq-aqt ,
49 cirq-core ,
510 cirq-google ,
611 cirq-ionq ,
712 cirq-pasqal ,
813 cirq-rigetti ,
914 cirq-web ,
15+
16+ # tests
1017 pytestCheckHook ,
11- setuptools ,
1218} :
1319
14- buildPythonPackage rec {
20+ buildPythonPackage {
1521 pname = "cirq" ;
1622 pyproject = true ;
1723 inherit ( cirq-core ) version src meta ;
@@ -21,10 +27,10 @@ buildPythonPackage rec {
2127 dependencies = [
2228 cirq-aqt
2329 cirq-core
24- cirq-ionq
2530 cirq-google
26- cirq-rigetti
31+ cirq-ionq
2732 cirq-pasqal
33+ cirq-rigetti
2834 cirq-web
2935 ] ;
3036
You can’t perform that action at this time.
0 commit comments