5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
33 lines
698 B
Nix
33 lines
698 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cython
|
|
, numpy
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "word2vec";
|
|
version = "0.10.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "40f6f30a5f113ffbfc24c5ad5de23bfac897f4c1210fb93685b7fca5c4dee7db";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cython numpy ];
|
|
|
|
checkPhase = ''
|
|
cd word2vec/tests;
|
|
${python.interpreter} test_word2vec.py
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tool for computing continuous distributed representations of words";
|
|
homepage = "https://github.com/danielfrg/word2vec";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ NikolaMandic ];
|
|
broken = true;
|
|
};
|
|
|
|
}
|