38 # optional-dependencies
60 buildPythonPackage rec {
65 src = fetchFromGitHub {
68 rev = "refs/tags/v${version}";
69 hash = "sha256-oNJVOz2FMMhUkYIajeWwRmHzLcXu5qTSQzjk0gciOnE=";
105 optional-dependencies = {
118 # sphinxcontrib-towncrier
127 zurichinstruments = [
132 nativeCheckInputs = [
147 __darwinAllowLocalNetworking = true;
151 # Follow upstream with settings
153 "--hypothesis-profile ci"
157 disabledTestPaths = [
158 # Test depends on qcodes-loop, causing a cyclic dependency
159 "tests/dataset/measurement/test_load_legacy_data.py"
161 "tests/dataset/test_dataset_basic.py"
165 # Tests are time-sensitive and power-consuming
166 # Those tests fails repeatably and are flaky
167 "test_access_channels_by_slice"
170 "test_do1d_additional_setpoints_shape"
171 "test_dond_1d_additional_setpoints_shape"
173 "test_get_array_in_scalar_param_data"
174 "test_get_parameter_data"
178 # https://github.com/microsoft/Qcodes/issues/5551
179 "test_query_close_once_at_init"
183 pythonImportsCheck = [ "qcodes" ];
185 # Remove the `asyncio_default_fixture_loop_scope` option as it has been introduced in newer `pytest-asyncio` v0.24
186 # which is not in nixpkgs yet:
187 # pytest.PytestConfigWarning: Unknown config option: asyncio_default_fixture_loop_scope
189 substituteInPlace pyproject.toml \
190 --replace-fail 'default-version = "0.0"' 'default-version = "${version}"' \
191 --replace-fail 'asyncio_default_fixture_loop_scope = "function"' ""
195 export HOME="$TMPDIR"
199 description = "Python-based data acquisition framework";
200 changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}";
201 downloadPage = "https://github.com/QCoDeS/Qcodes";
202 homepage = "https://qcodes.github.io/Qcodes/";
203 license = lib.licenses.mit;
204 maintainers = with lib.maintainers; [ evilmav ];