nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
2024-05-22 17:32:03 +02:00

26 lines
488 B
Nix

{
buildPythonPackage,
cirq-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cirq-web";
format = "setuptools";
inherit (cirq-core) version src meta;
sourceRoot = "${src.name}/${pname}";
propagatedBuildInputs = [ cirq-core ];
nativeCheckInputs = [ 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"
];
}