1{lib, buildPythonPackage, numpy, pkgs, pybind11 }:
2
3buildPythonPackage rec {
4 inherit (pkgs.fasttext) pname version src;
5
6 buildInputs = [ pybind11 ];
7
8 pythonImportsCheck = [ "fasttext" ];
9
10 propagatedBuildInputs = [ numpy ];
11
12 preBuild = ''
13 HOME=$TMPDIR
14 '';
15
16 meta = with lib; {
17 description = "Python module for text classification and representation learning";
18 homepage = "https://fasttext.cc/";
19 license = licenses.mit;
20 maintainers = with maintainers; [ ];
21 };
22}