at 18.03-beta 1.2 kB view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5# python dependencies 6, click 7, configparser ? null 8, dateutil 9, funcsigs 10, future 11, mock 12, networkx 13, nibabel 14, numpy 15, packaging 16, prov 17, psutil 18, pydot 19, pytest 20, scipy 21, simplejson 22, traits 23, xvfbwrapper 24# other dependencies 25, which 26}: 27 28assert !isPy3k -> configparser != null; 29 30buildPythonPackage rec { 31 pname = "nipype"; 32 version = "1.0.0"; 33 34 src = fetchPypi { 35 inherit pname version; 36 sha256 = "4c14c6cae1f530f89d76fa8136d52488b1daf3a02179da65121b76eaf4a6f0ea"; 37 }; 38 39 doCheck = false; # fails with TypeError: None is not callable 40 checkInputs = [ which ]; 41 buildInputs = [ pytest mock ]; # required in installPhase 42 propagatedBuildInputs = [ 43 click 44 dateutil 45 funcsigs 46 future 47 networkx 48 nibabel 49 numpy 50 packaging 51 prov 52 psutil 53 pydot 54 scipy 55 simplejson 56 traits 57 xvfbwrapper 58 ] ++ stdenv.lib.optional (!isPy3k) [ 59 configparser 60 ]; 61 62 meta = with stdenv.lib; { 63 homepage = http://nipy.org/nipype/; 64 description = "Neuroimaging in Python: Pipelines and Interfaces"; 65 license = licenses.bsd3; 66 maintainers = with maintainers; [ ashgillman ]; 67 }; 68}