python3Packages.persim: fix build
This commit is contained in:
parent
8ee6a9bfc1
commit
d97fc73e06
@ -1,12 +1,14 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, scikitlearn
|
, deprecated
|
||||||
, numpy
|
|
||||||
, matplotlib
|
|
||||||
, scipy
|
|
||||||
, hopcroftkarp
|
, hopcroftkarp
|
||||||
, pytest
|
, joblib
|
||||||
|
, matplotlib
|
||||||
|
, numpy
|
||||||
|
, scikitlearn
|
||||||
|
, scipy
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -19,26 +21,24 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scikitlearn
|
deprecated
|
||||||
numpy
|
|
||||||
matplotlib
|
|
||||||
scipy
|
|
||||||
hopcroftkarp
|
hopcroftkarp
|
||||||
|
joblib
|
||||||
|
matplotlib
|
||||||
|
numpy
|
||||||
|
scikitlearn
|
||||||
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
preCheck = ''
|
||||||
# specifically needed for darwin
|
# specifically needed for darwin
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
mkdir -p $HOME/.matplotlib
|
mkdir -p $HOME/.matplotlib
|
||||||
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
|
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
|
||||||
|
|
||||||
# ignore tests due to python 2.7 fail
|
|
||||||
pytest --ignore test/test_plots.py \
|
|
||||||
--ignore test/test_visuals.py
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user