tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.scikitlearn: 0.17 -> 0.17.1
Frederik Rietdijk
10 years ago
cc583393
7177d4fa
+3
-10
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
python-packages.nix
+3
-10
pkgs/top-level/python-packages.nix
···
18588
18588
18589
18589
scikitlearn = buildPythonPackage rec {
18590
18590
name = "scikit-learn-${version}";
18591
18591
-
version = "0.17";
18591
18591
+
version = "0.17.1";
18592
18592
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
18593
18593
18594
18594
src = pkgs.fetchurl {
18595
18595
-
url = "https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz";
18596
18596
-
sha256 = "9946ab26bec8ba771a366c6c496514e37da88b9cb4cd05b3bb1c031eb1da1168";
18595
18595
+
url = "https://pypi.python.org/packages/source/s/scikit-learn/${name}.tar.gz";
18596
18596
+
sha256 = "9f4cf58e57d81783289fc503caaed1f210bab49b7a6f680bf3c04b1e0a96e5f0";
18597
18597
};
18598
18598
18599
18599
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
18600
18600
propagatedBuildInputs = with self; [ numpy scipy numpy.blas ];
18601
18601
18602
18602
LC_ALL="en_US.UTF-8";
18603
18603
-
18604
18604
-
# Exclude "test_image.py" because the Lena function/image was removed from SciPy since 0.17
18605
18605
-
# Should be fixed in next release.
18606
18606
-
# Using the -I switch broke nosetests...?
18607
18607
-
patchPhase = ''
18608
18608
-
rm sklearn/feature_extraction/tests/test_image.py
18609
18609
-
'';
18610
18603
18611
18604
checkPhase = ''
18612
18605
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/