20 buildPythonPackage rec {
25 src = fetchFromGitHub {
26 owner = "bids-standard";
29 hash = "sha256-nSBc4vhkCdRo7CNBwvJreCiwoxJK6ztyI5gvcpzYZ/Y=";
33 substituteInPlace pyproject.toml \
34 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
45 ] ++ versioneer.optional-dependencies.toml;
60 pythonImportsCheck = [ "bids" ];
62 nativeCheckInputs = [ pytestCheckHook ];
65 # Could not connect to the endpoint URL
66 "src/bids/layout/tests/test_remote_bids.py"
70 # Regression associated with formulaic >= 0.6.0
71 # (see https://github.com/bids-standard/pybids/issues/1000)
76 description = "Python tools for querying and manipulating BIDS datasets";
77 homepage = "https://github.com/bids-standard/pybids";
78 changelog = "https://github.com/bids-standard/pybids/blob/${version}/CHANGELOG.rst";
79 license = lib.licenses.mit;
80 maintainers = with lib.maintainers; [ wegank ];
81 mainProgram = "pybids";