Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / fasttext / default.nix
blob11d5ef13a2488f1b194e18d4507b63298beaca4d
2   lib,
3   buildPythonPackage,
4   numpy,
5   pkgs,
6   pybind11,
7 }:
9 buildPythonPackage rec {
10   inherit (pkgs.fasttext) pname version src;
12   format = "setuptools";
14   buildInputs = [ pybind11 ];
16   pythonImportsCheck = [ "fasttext" ];
18   propagatedBuildInputs = [ numpy ];
20   preBuild = ''
21     HOME=$TMPDIR
22   '';
24   meta = with lib; {
25     description = "Python module for text classification and representation learning";
26     homepage = "https://fasttext.cc/";
27     license = licenses.mit;
28     maintainers = [ ];
29   };