at 22.05-pre 29 lines 495 B view raw
1{ buildPythonPackage 2, cirq-core 3, requests 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "cirq-pasqal"; 9 inherit (cirq-core) version src meta; 10 11 sourceRoot = "source/${pname}"; 12 13 postPatch = '' 14 substituteInPlace requirements.txt \ 15 --replace "requests~=2.18" "requests" 16 ''; 17 18 propagatedBuildInputs = [ 19 cirq-core 20 requests 21 ]; 22 23 checkInputs = [ 24 pytestCheckHook 25 ]; 26 27 # cirq's importlib hook doesn't work here 28 #pythonImportsCheck = [ "cirq_pasqal" ]; 29}