My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/cirq-aqt/default.nix

29 lines
489 B

{ buildPythonPackage
, cirq-core
, 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" ];
}