pythonPackages.pybids: init at 0.9.2

This commit is contained in:
Jonathan Ringer 2019-08-05 19:07:10 -07:00 committed by Frederik Rietdijk
parent 00a4b9d339
commit 70127bd216
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ buildPythonPackage
, lib
, fetchPypi
, isPy27
, num2words
, numpy
, scipy
, pandas
, nibabel
, patsy
, bids-validator
, sqlalchemy
, pytest
, pathlib
}:
buildPythonPackage rec {
version = "0.9.2";
pname = "pybids";
src = fetchPypi {
inherit pname version;
sha256 = "16c0v800yklp043prbrx1357vx1mq5gddxz5zqlcnf4akhzcqrxs";
};
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";
homepage = https://github.com/bids-standard/pybids;
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -839,6 +839,8 @@ in {
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };
pybids = callPackage ../development/python-modules/pybids { };
pybind11 = callPackage ../development/python-modules/pybind11 { };
pybullet = callPackage ../development/python-modules/pybullet { };