841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
46 lines
804 B
Nix
46 lines
804 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, click
|
|
, num2words
|
|
, numpy
|
|
, scipy
|
|
, pandas
|
|
, nibabel
|
|
, patsy
|
|
, bids-validator
|
|
, sqlalchemy
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.13.1";
|
|
pname = "pybids";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ySDhVX4drotnFiXXDK+9woQ3uigistudpMJYenYl47o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
num2words
|
|
numpy
|
|
scipy
|
|
pandas
|
|
nibabel
|
|
patsy
|
|
bids-validator
|
|
sqlalchemy
|
|
];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
pythonImportsCheck = [ "bids" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|