diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-08-05 19:07:10 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-18 11:48:40 +0200 |
commit | 70127bd216c0a0f4ef8c65972ab8056fbb6b643a (patch) | |
tree | 47c48ada2c5699068f00f96b8e5904db5318b378 /pkgs/development/python-modules/pybids | |
parent | 00a4b9d3390defe455ed311234012c2b89180793 (diff) |
pythonPackages.pybids: init at 0.9.2
Diffstat (limited to 'pkgs/development/python-modules/pybids')
-rw-r--r-- | pkgs/development/python-modules/pybids/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pybids/default.nix b/pkgs/development/python-modules/pybids/default.nix new file mode 100644 index 0000000000000..8779ad36ca2a4 --- /dev/null +++ b/pkgs/development/python-modules/pybids/default.nix @@ -0,0 +1,49 @@ +{ buildPythonPackage +, lib +, fetchPypi +, isPy27 +, num2words +, numpy +, scipy +, pandas +, nibabel +, patsy +, bids-validator +, sqlalchemy +, pytest +, pathlib +}: + +buildPythonPackage rec { + version = "0.9.2"; + pname = "pybids"; + + src = fetchPypi { + inherit pname version; + sha256 = "16c0v800yklp043prbrx1357vx1mq5gddxz5zqlcnf4akhzcqrxs"; + }; + + propagatedBuildInputs = [ + num2words + numpy + scipy + pandas + nibabel + patsy + bids-validator + sqlalchemy + ]; + + checkInputs = [ pytest ] ++ lib.optionals isPy27 [ pathlib ]; + + checkPhase = '' + pytest + ''; + + 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 ]; + }; +} |