python3Packages.cirq-core: 0.11.0 -> 0.12.0

main
Fabian Affolter 3 years ago
parent b5044c1833
commit 1b87824b94
  1. 16
      pkgs/development/python-modules/cirq-core/default.nix

@ -1,5 +1,5 @@
{ stdenv
, lib
{ lib
, stdenv
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
@ -26,9 +26,10 @@
, freezegun
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "cirq-core";
version = "0.11.0";
version = "0.12.0";
disabled = pythonOlder "3.6";
@ -36,7 +37,7 @@ buildPythonPackage rec {
owner = "quantumlib";
repo = "cirq";
rev = "v${version}";
hash = "sha256-JaKTGnkYhzIFb35SGaho8DRupoT0JFYKA5+rJEq4oXw=";
sha256 = "sha256-NPaADiRoPL0KoLugtk0vsnTGuRDK85e4j9kHv9aO/Po=";
};
sourceRoot = "source/${pname}";
@ -45,8 +46,7 @@ buildPythonPackage rec {
substituteInPlace requirements.txt \
--replace "matplotlib~=3.0" "matplotlib" \
--replace "networkx~=2.4" "networkx" \
--replace "numpy~=1.16" "numpy" \
--replace "requests~=2.18" "requests"
--replace "numpy~=1.16" "numpy"
'';
propagatedBuildInputs = [
@ -89,10 +89,10 @@ buildPythonPackage rec {
];
meta = with lib; {
description = "A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.";
description = "Framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits";
homepage = "https://github.com/quantumlib/cirq";
changelog = "https://github.com/quantumlib/Cirq/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger ];
maintainers = with maintainers; [ drewrisinger fab ];
};
}

Loading…
Cancel
Save