word2vec: fix build
This commit is contained in:
parent
1f11326e02
commit
813346b619
@ -3,19 +3,23 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, cython
|
, cython
|
||||||
, numpy
|
, numpy
|
||||||
|
, scikitlearn
|
||||||
|
, six
|
||||||
, python
|
, python
|
||||||
|
, isPy27
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "word2vec";
|
pname = "word2vec";
|
||||||
version = "0.10.2";
|
version = "0.10.2";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "40f6f30a5f113ffbfc24c5ad5de23bfac897f4c1210fb93685b7fca5c4dee7db";
|
sha256 = "40f6f30a5f113ffbfc24c5ad5de23bfac897f4c1210fb93685b7fca5c4dee7db";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ cython numpy ];
|
propagatedBuildInputs = [ cython numpy scikitlearn six ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cd word2vec/tests;
|
cd word2vec/tests;
|
||||||
@ -27,7 +31,6 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/danielfrg/word2vec";
|
homepage = "https://github.com/danielfrg/word2vec";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ NikolaMandic ];
|
maintainers = with maintainers; [ NikolaMandic ];
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user