Commit 25e518ac authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.cirq-core: refactor

parent 5946122f
Loading
Loading
Loading
Loading
+17 −16
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.1";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.9";

@@ -51,7 +50,9 @@ buildPythonPackage rec {
      --replace "matplotlib~=3.0" "matplotlib"
  '';

  propagatedBuildInputs =
  build-system = [ setuptools ];

  dependencies =
    [
      attrs
      duet