My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pybids/default.nix

49 lines
923 B

{ buildPythonPackage
, lib
, fetchPypi
, click
, num2words
, numpy
, scipy
, pandas
, nibabel
, patsy
, bids-validator
, sqlalchemy
, pytestCheckHook
}:
buildPythonPackage rec {
version = "0.15.3";
pname = "pybids";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-TZnJebxLwgnP9woC0downJv4xrAzjioLZuvqd8fzxGE=";
};
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 ];
# Doesn't support sqlalchemy >=1.4
# See https://github.com/bids-standard/pybids/issues/680
broken = true;
};
}