nixpkgs/pkgs/development/python-modules/fasttext/default.nix
2021-11-12 19:10:54 -08:00

23 lines
495 B
Nix

{lib, buildPythonPackage, numpy, pkgs, pybind11 }:
buildPythonPackage rec {
inherit (pkgs.fasttext) pname version src;
buildInputs = [ pybind11 ];
pythonImportsCheck = [ "fasttext" ];
propagatedBuildInputs = [ numpy ];
preBuild = ''
HOME=$TMPDIR
'';
meta = with lib; {
description = "Python module for text classification and representation learning";
homepage = "https://fasttext.cc/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}