diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-06-05 22:04:28 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-06-05 22:05:43 +0100 |
commit | cf2c5f1be9443323893efd8e71345d54e67ec29f (patch) | |
tree | 81b6c8ce9e861e51f5f615c16a802975681e3591 /pkgs/top-level | |
parent | dac3cf5a4aa53a3952d2b7d3ae9a4c106bf14af9 (diff) | |
download | nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar.gz nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar.bz2 nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar.lz nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar.xz nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.tar.zst nixlib-cf2c5f1be9443323893efd8e71345d54e67ec29f.zip |
python.pkgs.scikitlearn: fix python 3.6 tests
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 595894ad5055..238e4ec6d0c3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22177,32 +22177,8 @@ in { }; }; - - scikitlearn = buildPythonPackage rec { - name = "scikit-learn-${version}"; - version = "0.18.1"; - disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534 - - src = pkgs.fetchurl { - url = "mirror://pypi/s/scikit-learn/${name}.tar.gz"; - sha256 = "1eddfc27bb37597a5d514de1299981758e660e0af56981c0bfdf462c9568a60c"; - }; - - buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ]; - propagatedBuildInputs = with self; [ numpy scipy numpy.blas ]; - - LC_ALL="en_US.UTF-8"; - - checkPhase = '' - HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/ - ''; - - meta = { - description = "A set of python modules for machine learning and data mining"; - homepage = http://scikit-learn.org; - license = licenses.bsd3; - maintainers = with maintainers; [ fridh ]; - }; + scikitlearn = callPackage ../development/python-modules/scikitlearn { + inherit (pkgs) gfortran glibcLocales; }; scripttest = buildPythonPackage rec { |