git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.nipy: init at 0.4.0
commit786a10c9b6b0af4964534004ef9053103282c7da authorBen Darwin <bcdarwin@gmail.com> dateThu 23 Jun 2016, 20:27 (10 years ago) parenta48f147
1 file changed+42
pkgs/top-level/python-packages.nix+42
pkgs/top-level/python-packages.nix+42
@@ -13602,6 +13602,48 @@ in modules // {
1360213602 };
1360313603 };
1360413604
13605+ nipy = buildPythonPackage rec {
13606+ version = "0.4.0";
13607+ name = "nipy-${version}";
13608+
13609+ disabled = pythonOlder "2.6";
13610+
13611+ checkPhase = '' # wants to be run in a different directory
13612+ mkdir nosetests
13613+ cd nosetests
13614+ ${python.interpreter} -c "import nipy; nipy.test()"
13615+ rm -rf .
13616+ '';
13617+ # failing test:
13618+ # nipy.algorithms.statistics.models.tests.test_olsR.test_results(11.593139639404727, 11.593140144880794, 6) # disagrees by 1 at 6th decimal place
13619+ # erroring tests:
13620+ # nipy.modalities.fmri.fmristat.tests.test_FIAC.test_altprotocol
13621+ # nipy.modalities.fmri.fmristat.tests.test_FIAC.test_agreement
13622+ # nipy.tests.test_scripts.test_nipy_4d_realign # because `nipy_4d_realign` script isn't found at test time; works from nix-shell, so could be patched
13623+ # nipy.tests.test_scripts.test_nipy_3_4d # ditto re.: `nipy_3_4d` script
13624+ doCheck = false;
13625+
13626+ src = pkgs.fetchurl {
13627+ url = "mirror://pypi/n/nipy/${name}.tar.gz";
13628+ sha256 = "1hnbn2i4fjxflaaz082s2c57hfp59jfra1zayz1iras5p2dy21nr";
13629+ };
13630+
13631+ buildInputs = stdenv.lib.optional doCheck [ self.nose ];
13632+
13633+ propagatedBuildInputs = with self; [
13634+ nibabel
13635+ numpy
13636+ scipy
13637+ sympy
13638+ ];
13639+
13640+ meta = {
13641+ homepage = http://nipy.org/nipy/;
13642+ description = "Software for structural and functional neuroimaging analysis";
13643+ license = licenses.bsd3;
13644+ };
13645+ };
13646+
1360513647 nipype = buildPythonPackage rec {
1360613648 version = "0.10.0";
1360713649 name = "nipype-${version}";