2019-08-06 03:07:10 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
2020-09-29 15:35:40 +01:00
|
|
|
, click
|
2019-08-06 03:07:10 +01:00
|
|
|
, num2words
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, nibabel
|
|
|
|
, patsy
|
|
|
|
, bids-validator
|
|
|
|
, sqlalchemy
|
|
|
|
, pytest
|
|
|
|
, pathlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-10-25 09:06:55 +00:00
|
|
|
version = "0.12.3";
|
2019-08-06 03:07:10 +01:00
|
|
|
pname = "pybids";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:55 +00:00
|
|
|
sha256 = "a084172ae5b26a5f26b17186ade98400cda52d9244d9f0b329041741ea82b5db";
|
2019-08-06 03:07:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-09-29 15:35:40 +01:00
|
|
|
click
|
2019-08-06 03:07:10 +01:00
|
|
|
num2words
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
pandas
|
|
|
|
nibabel
|
|
|
|
patsy
|
|
|
|
bids-validator
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ] ++ lib.optionals isPy27 [ pathlib ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python tools for querying and manipulating BIDS datasets";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bids-standard/pybids";
|
2019-08-06 03:07:10 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|