2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2020-10-07 09:15:18 +00:00
|
|
|
, click
|
2020-04-24 23:36:52 +00:00
|
|
|
, num2words
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, nibabel
|
|
|
|
, patsy
|
|
|
|
, bids-validator
|
|
|
|
, sqlalchemy
|
2021-02-17 17:02:09 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "0.14.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pybids";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "73c4d03aad333f2a7cb4405abe96f55a33cffa4b5a2d23fad6ac5767c45562ef";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-10-07 09:15:18 +00:00
|
|
|
click
|
2020-04-24 23:36:52 +00:00
|
|
|
num2words
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
pandas
|
|
|
|
nibabel
|
|
|
|
patsy
|
|
|
|
bids-validator
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "bids" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python tools for querying and manipulating BIDS datasets";
|
|
|
|
homepage = "https://github.com/bids-standard/pybids";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
2021-08-18 13:19:15 +00:00
|
|
|
# Doesn't support sqlalchemy >=1.4
|
|
|
|
# See https://github.com/bids-standard/pybids/issues/680
|
|
|
|
broken = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|