1{ buildPythonPackage 2, lib 3, fetchPypi 4, click 5, num2words 6, numpy 7, scipy 8, pandas 9, nibabel 10, patsy 11, bids-validator 12, sqlalchemy 13, pytestCheckHook 14}: 15 16buildPythonPackage rec { 17 version = "0.15.3"; 18 pname = "pybids"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256-TZnJebxLwgnP9woC0downJv4xrAzjioLZuvqd8fzxGE="; 23 }; 24 25 propagatedBuildInputs = [ 26 click 27 num2words 28 numpy 29 scipy 30 pandas 31 nibabel 32 patsy 33 bids-validator 34 sqlalchemy 35 ]; 36 37 checkInputs = [ pytestCheckHook ]; 38 pythonImportsCheck = [ "bids" ]; 39 40 meta = with lib; { 41 description = "Python tools for querying and manipulating BIDS datasets"; 42 homepage = "https://github.com/bids-standard/pybids"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ jonringer ]; 45 # Doesn't support sqlalchemy >=1.4 46 # See https://github.com/bids-standard/pybids/issues/680 47 broken = true; 48 }; 49}