nixpkgs/pkgs/development/python-modules/pybids/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
923 B
Nix
Raw Normal View History

2019-08-06 02:07:10 +00:00
{ buildPythonPackage
, lib
, fetchPypi
, click
2019-08-06 02:07:10 +00:00
, num2words
, numpy
, scipy
, pandas
, nibabel
, patsy
, bids-validator
, sqlalchemy
, pytestCheckHook
2019-08-06 02:07:10 +00:00
}:
buildPythonPackage rec {
version = "0.15.0";
2019-08-06 02:07:10 +00:00
pname = "pybids";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Eq+4x7h1uR5QHXfgCEZl+7usc9CBFQClvV36Yyrqbd0=";
2019-08-06 02:07:10 +00:00
};
propagatedBuildInputs = [
click
2019-08-06 02:07:10 +00:00
num2words
numpy
scipy
pandas
nibabel
patsy
bids-validator
sqlalchemy
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bids" ];
2019-08-06 02:07:10 +00:00
meta = with lib; {
description = "Python tools for querying and manipulating BIDS datasets";
homepage = "https://github.com/bids-standard/pybids";
2019-08-06 02:07:10 +00:00
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
# Doesn't support sqlalchemy >=1.4
# See https://github.com/bids-standard/pybids/issues/680
broken = true;
2019-08-06 02:07:10 +00:00
};
}