Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 49 lines 835 B view raw
1{ buildPythonPackage 2, lib 3, fetchPypi 4, isPy27 5, num2words 6, numpy 7, scipy 8, pandas 9, nibabel 10, patsy 11, bids-validator 12, sqlalchemy 13, pytest 14, pathlib 15}: 16 17buildPythonPackage rec { 18 version = "0.10.0"; 19 pname = "pybids"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "b37ba89eb7407bbfdf8e26e1230b6ef452da3d986df5eed21aab96be61b6e844"; 24 }; 25 26 propagatedBuildInputs = [ 27 num2words 28 numpy 29 scipy 30 pandas 31 nibabel 32 patsy 33 bids-validator 34 sqlalchemy 35 ]; 36 37 checkInputs = [ pytest ] ++ lib.optionals isPy27 [ pathlib ]; 38 39 checkPhase = '' 40 pytest 41 ''; 42 43 meta = with lib; { 44 description = "Python tools for querying and manipulating BIDS datasets"; 45 homepage = https://github.com/bids-standard/pybids; 46 license = licenses.mit; 47 maintainers = with maintainers; [ jonringer ]; 48 }; 49}