Loading pkgs/development/python-modules/cirq-core/default.nix +19 −18 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, attrs, autoray ? null, buildPythonPackage, duet, fetchFromGitHub, freezegun, matplotlib, networkx, numpy, opt-einsum, pandas, ply, pylatex ? null, pyquil ? null, pytest-asyncio, pytestCheckHook, pythonOlder, quimb ? null, requests, scipy, setuptools, sortedcontainers, sympy, tqdm, typing-extensions, # Contrib requirements withContribRequires ? false, autoray ? null, opt-einsum, ply, pylatex ? null, pyquil ? null, quimb ? null, # test inputs pytestCheckHook, freezegun, pytest-asyncio, }: buildPythonPackage rec { pname = "cirq-core"; version = "1.4.0"; format = "setuptools"; version = "1.4.1"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -41,7 +40,7 @@ buildPythonPackage rec { owner = "quantumlib"; repo = "cirq"; rev = "refs/tags/v${version}"; hash = "sha256-KHwVq0qVtc8E9i2lugILYNwk9awq952w0x4DM+HG7Pg="; hash = "sha256-1GcRDVgYF+1igZQFlQbiWZmU1WNIJh4CcOftQe6OP6I="; }; sourceRoot = "${src.name}/${pname}"; Loading @@ -51,7 +50,9 @@ buildPythonPackage rec { --replace "matplotlib~=3.0" "matplotlib" ''; propagatedBuildInputs = build-system = [ setuptools ]; dependencies = [ attrs duet Loading pkgs/development/python-modules/cirq-ft/default.nixdeleted 100644 → 0 +0 −45 Original line number Diff line number Diff line { attrs, buildPythonPackage, cachetools, cirq-core, ipython, ipywidgets, nbconvert, nbformat, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "cirq-ft"; pyproject = true; inherit (cirq-core) version src meta; sourceRoot = "${src.name}/${pname}"; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ attrs cachetools cirq-core ipython ipywidgets nbconvert nbformat ]; nativeCheckInputs = [ ipython pytestCheckHook ]; disabledTests = [ # Upstream doesn't always adjust the version "test_version" ]; # cirq's importlib hook doesn't work here #pythonImportsCheck = [ "cirq_ft" ]; } pkgs/development/python-modules/cirq-rigetti/default.nix +0 −5 Original line number Diff line number Diff line Loading @@ -84,9 +84,4 @@ buildPythonPackage rec { # cirq's importlib hook doesn't work here #pythonImportsCheck = [ "cirq_rigetti" ]; meta = cirq-core.meta // { # ModuleNotFoundError: No module named 'pyquil.parser' broken = lib.versionAtLeast pyquil.version "4"; }; } pkgs/development/python-modules/cirq/default.nix +0 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ buildPythonPackage, cirq-aqt, cirq-core, cirq-ft, cirq-google, cirq-ionq, cirq-pasqal, Loading @@ -19,7 +18,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ cirq-aqt cirq-core cirq-ft cirq-ionq cirq-google cirq-rigetti Loading @@ -34,7 +32,6 @@ buildPythonPackage rec { disabledTestPaths = [ "cirq-aqt" "cirq-core" "cirq-ft" "cirq-google" "cirq-ionq" "cirq-pasqal" Loading pkgs/development/python-modules/duet/default.nix +13 −5 Original line number Diff line number Diff line Loading @@ -3,25 +3,33 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "duet"; version = "0.2.7"; format = "setuptools"; version = "0.2.9"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "google"; repo = "duet"; rev = "v${version}"; hash = "sha256-9CTAupAxZI1twoLpgr7VfECw70QunE6pk+SskiT3JDw="; rev = "refs/tags/v${version}"; hash = "sha256-P7JxUigD7ZyhtocV+YuAVxuUYVa4F7PpXuA1CCmcMvg="; }; propagatedBuildInputs = [ typing-extensions ]; build-system = [ setuptools ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "duet" ]; meta = with lib; { description = "Simple future-based async library for python"; homepage = "https://github.com/google/duet"; Loading Loading
pkgs/development/python-modules/cirq-core/default.nix +19 −18 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, attrs, autoray ? null, buildPythonPackage, duet, fetchFromGitHub, freezegun, matplotlib, networkx, numpy, opt-einsum, pandas, ply, pylatex ? null, pyquil ? null, pytest-asyncio, pytestCheckHook, pythonOlder, quimb ? null, requests, scipy, setuptools, sortedcontainers, sympy, tqdm, typing-extensions, # Contrib requirements withContribRequires ? false, autoray ? null, opt-einsum, ply, pylatex ? null, pyquil ? null, quimb ? null, # test inputs pytestCheckHook, freezegun, pytest-asyncio, }: buildPythonPackage rec { pname = "cirq-core"; version = "1.4.0"; format = "setuptools"; version = "1.4.1"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -41,7 +40,7 @@ buildPythonPackage rec { owner = "quantumlib"; repo = "cirq"; rev = "refs/tags/v${version}"; hash = "sha256-KHwVq0qVtc8E9i2lugILYNwk9awq952w0x4DM+HG7Pg="; hash = "sha256-1GcRDVgYF+1igZQFlQbiWZmU1WNIJh4CcOftQe6OP6I="; }; sourceRoot = "${src.name}/${pname}"; Loading @@ -51,7 +50,9 @@ buildPythonPackage rec { --replace "matplotlib~=3.0" "matplotlib" ''; propagatedBuildInputs = build-system = [ setuptools ]; dependencies = [ attrs duet Loading
pkgs/development/python-modules/cirq-ft/default.nixdeleted 100644 → 0 +0 −45 Original line number Diff line number Diff line { attrs, buildPythonPackage, cachetools, cirq-core, ipython, ipywidgets, nbconvert, nbformat, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "cirq-ft"; pyproject = true; inherit (cirq-core) version src meta; sourceRoot = "${src.name}/${pname}"; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ attrs cachetools cirq-core ipython ipywidgets nbconvert nbformat ]; nativeCheckInputs = [ ipython pytestCheckHook ]; disabledTests = [ # Upstream doesn't always adjust the version "test_version" ]; # cirq's importlib hook doesn't work here #pythonImportsCheck = [ "cirq_ft" ]; }
pkgs/development/python-modules/cirq-rigetti/default.nix +0 −5 Original line number Diff line number Diff line Loading @@ -84,9 +84,4 @@ buildPythonPackage rec { # cirq's importlib hook doesn't work here #pythonImportsCheck = [ "cirq_rigetti" ]; meta = cirq-core.meta // { # ModuleNotFoundError: No module named 'pyquil.parser' broken = lib.versionAtLeast pyquil.version "4"; }; }
pkgs/development/python-modules/cirq/default.nix +0 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ buildPythonPackage, cirq-aqt, cirq-core, cirq-ft, cirq-google, cirq-ionq, cirq-pasqal, Loading @@ -19,7 +18,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ cirq-aqt cirq-core cirq-ft cirq-ionq cirq-google cirq-rigetti Loading @@ -34,7 +32,6 @@ buildPythonPackage rec { disabledTestPaths = [ "cirq-aqt" "cirq-core" "cirq-ft" "cirq-google" "cirq-ionq" "cirq-pasqal" Loading
pkgs/development/python-modules/duet/default.nix +13 −5 Original line number Diff line number Diff line Loading @@ -3,25 +3,33 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "duet"; version = "0.2.7"; format = "setuptools"; version = "0.2.9"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "google"; repo = "duet"; rev = "v${version}"; hash = "sha256-9CTAupAxZI1twoLpgr7VfECw70QunE6pk+SskiT3JDw="; rev = "refs/tags/v${version}"; hash = "sha256-P7JxUigD7ZyhtocV+YuAVxuUYVa4F7PpXuA1CCmcMvg="; }; propagatedBuildInputs = [ typing-extensions ]; build-system = [ setuptools ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "duet" ]; meta = with lib; { description = "Simple future-based async library for python"; homepage = "https://github.com/google/duet"; Loading