mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
50 lines
929 B
Nix
50 lines
929 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, click
|
|
, num2words
|
|
, numpy
|
|
, scipy
|
|
, pandas
|
|
, nibabel
|
|
, patsy
|
|
, bids-validator
|
|
, sqlalchemy
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.15.5";
|
|
pname = "pybids";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ryIiWpFoh0KSmyLI4LDn+EkXEYwDIr8/A7opoZJ+bo4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
num2words
|
|
numpy
|
|
scipy
|
|
pandas
|
|
nibabel
|
|
patsy
|
|
bids-validator
|
|
sqlalchemy
|
|
];
|
|
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|