depot/third_party/nixpkgs/pkgs/development/python-modules/fasttext/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

24 lines
521 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; [ ];
};
}