nixpkgs/pkgs/development/python-modules/fasttext/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
515 B
Nix
Raw Normal View History

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