python3Packages.cirq-pasqal: init at 0.12.0

This commit is contained in:
Fabian Affolter
2021-09-18 20:50:21 +02:00
parent 1b87824b94
commit aab20f64b1
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, cirq-core
, pythonOlder
, fetchFromGitHub
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq-pasqal";
inherit (cirq-core) version src meta;
sourceRoot = "source/${pname}";
postPatch = ''
substituteInPlace requirements.txt \
--replace "requests~=2.18" "requests"
'';
propagatedBuildInputs = [
cirq-core
requests
];
checkInputs = [
pytestCheckHook
];
# cirq's importlib hook doesn't work here
#pythonImportsCheck = [ "cirq_pasqal" ];
}
+2
View File
@@ -1465,6 +1465,8 @@ in {
cirq-google = callPackage ../development/python-modules/cirq-google { };
cirq-pasqal = callPackage ../development/python-modules/cirq-pasqal { };
ciscomobilityexpress = callPackage ../development/python-modules/ciscomobilityexpress { };
ciso8601 = callPackage ../development/python-modules/ciso8601 { };