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 {
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.12.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pybids";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "830f3f518ab0d2e058e9ba6d6ff9a942792909c874433b3ad58a3339a23f46bf";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|