nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
2022-10-16 17:19:35 +02:00

28 lines
459 B
Nix

{ buildPythonPackage
, cirq-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq-web";
inherit (cirq-core) version src meta;
sourceRoot = "source/${pname}";
propagatedBuildInputs = [
cirq-core
];
checkInputs = [
pytestCheckHook
];
# cirq's importlib hook doesn't work here
#pythonImportsCheck = [ "cirq_web" ];
disabledTestPaths = [
# No need to test the version number
"cirq_web/_version_test.py"
];
}