2019-08-06 03:07:10 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, num2words
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, nibabel
|
|
|
|
, patsy
|
|
|
|
, bids-validator
|
|
|
|
, sqlalchemy
|
|
|
|
, pytest
|
|
|
|
, pathlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:01:54 +01:00
|
|
|
version = "0.10.2";
|
2019-08-06 03:07:10 +01:00
|
|
|
pname = "pybids";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:54 +01:00
|
|
|
sha256 = "6571ef82e03a958e56aa61cf5b15392f0b2d5dbca92f872061d81524e8da8525";
|
2019-08-06 03:07:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|