47 lines
802 B
Nix
Raw Normal View History

2019-08-05 19:07:10 -07:00
{ buildPythonPackage
, lib
, fetchPypi
, click
2019-08-05 19:07:10 -07:00
, num2words
, numpy
, scipy
, pandas
, nibabel
, patsy
, bids-validator
, sqlalchemy
, pytestCheckHook
2019-08-05 19:07:10 -07:00
}:
buildPythonPackage rec {
2021-05-20 22:25:20 -07:00
version = "0.13";
2019-08-05 19:07:10 -07:00
pname = "pybids";
src = fetchPypi {
inherit pname version;
2021-05-20 22:25:20 -07:00
sha256 = "sha256-zVFaGAKgTP9UiUdmO4+Tut8Qc64xuGyB26cQLRHOqYw=";
2019-08-05 19:07:10 -07:00
};
propagatedBuildInputs = [
click
2019-08-05 19:07:10 -07:00
num2words
numpy
scipy
pandas
nibabel
patsy
bids-validator
sqlalchemy
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bids" ];
2019-08-05 19:07:10 -07:00
meta = with lib; {
description = "Python tools for querying and manipulating BIDS datasets";
homepage = "https://github.com/bids-standard/pybids";
2019-08-05 19:07:10 -07:00
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}