mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.cirq-aqt: init at 0.12.0
This commit is contained in:
parent
c8113cc857
commit
dacf3c8aa1
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 New Issue
Block a user