nixpkgs/pkgs/development/python-modules/pybids/default.nix
2021-05-20 22:25:20 -07:00

47 lines
802 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, click
, num2words
, numpy
, scipy
, pandas
, nibabel
, patsy
, bids-validator
, sqlalchemy
, pytestCheckHook
}:
buildPythonPackage rec {
version = "0.13";
pname = "pybids";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zVFaGAKgTP9UiUdmO4+Tut8Qc64xuGyB26cQLRHOqYw=";
};
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 ];
};
}