Files
nixpkgs/pkgs/development/python-modules/cirq-aqt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
596 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
buildPythonPackage,
cirq-core,
requests,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "cirq-aqt";
pyproject = true;
inherit (cirq-core) version src meta;
sourceRoot = "${src.name}/${pname}";
build-system = [ setuptools ];
pythonRelaxDeps = [
"requests"
];
dependencies = [
cirq-core
requests
];
nativeCheckInputs = [ pytestCheckHook ];
# cirq's importlib hook doesn't work here
#pythonImportsCheck = [ "cirq_aqt" ];
disabledTestPaths = [
# No need to test the version number
"cirq_aqt/_version_test.py"
];
}