python3Packages.cirq-aqt: init at 0.12.0
This commit is contained in:
parent
c8113cc857
commit
dacf3c8aa1
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/cirq-aqt/default.nix
Normal file
32
pkgs/development/python-modules/cirq-aqt/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cirq-core
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cirq-aqt";
|
||||
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_aqt" ];
|
||||
}
|
|
@ -1461,6 +1461,8 @@ in {
|
|||
|
||||
cirq = callPackage ../development/python-modules/cirq { };
|
||||
|
||||
cirq-aqt = callPackage ../development/python-modules/cirq-aqt { };
|
||||
|
||||
cirq-core = callPackage ../development/python-modules/cirq-core { };
|
||||
|
||||
cirq-ionq = callPackage ../development/python-modules/cirq-ionq { };
|
||||
|
|
Loading…
Reference in a new issue