1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/python-modules/cirq/default.nix

29 lines
504 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cirq-core
, cirq-google
# test inputs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq";
inherit (cirq-core) version src meta;
propagatedBuildInputs = [
cirq-core
cirq-google
];
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
checkInputs = [ pytestCheckHook ];
2020-05-12 00:00:17 +01:00
# Don't run submodule or development tool tests
disabledTestPaths = [
"cirq-google"
"cirq-core"
"dev_tools"
];
}