ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / cirq-ionq / default.nix
blob78f52de89a8d6fd312f26f6620625db8ceceee5b
1 { buildPythonPackage
2 , cirq-core
3 , requests
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "cirq-ionq";
9   inherit (cirq-core) version src meta;
11   sourceRoot = "source/${pname}";
13   postPatch = ''
14     substituteInPlace requirements.txt \
15       --replace "requests~=2.18" "requests"
16   '';
18   propagatedBuildInputs = [
19     cirq-core
20     requests
21   ];
23   checkInputs = [
24     pytestCheckHook
25   ];
27   # cirq's importlib hook doesn't work here
28   #pythonImportsCheck = [ "cirq_ionq" ];
30   disabledTestPaths = [
31     # No need to test the version number
32     "cirq_ionq/_version_test.py"
33   ];