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.

25 lines
521 B
Nix
Raw Normal View History

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