1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, cython
5, numpy
6, python
7}:
8
9buildPythonPackage rec {
10 pname = "word2vec";
11 version = "0.10.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "40f6f30a5f113ffbfc24c5ad5de23bfac897f4c1210fb93685b7fca5c4dee7db";
16 };
17
18 propagatedBuildInputs = [ cython numpy ];
19
20 checkPhase = ''
21 cd word2vec/tests;
22 ${python.interpreter} test_word2vec.py
23 '';
24
25 meta = with stdenv.lib; {
26 description = "Tool for computing continuous distributed representations of words";
27 homepage = "https://github.com/danielfrg/word2vec";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ NikolaMandic ];
30 broken = true;
31 };
32
33}