python3Packages.cirq-pasqal: init at 0.12.0
This commit is contained in:
@@ -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" ];
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user