3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fasttext/default.nix
2020-04-28 14:23:36 +01:00

23 lines
531 B
Nix

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