depot/third_party/nixpkgs/pkgs/development/python-modules/fasttext/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
533 B
Nix

{
lib,
buildPythonPackage,
numpy,
pkgs,
pybind11,
}:
buildPythonPackage rec {
inherit (pkgs.fasttext) pname version src;
format = "setuptools";
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; [ ];
};
}