Files

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

31 lines
511 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
numpy,
pkgs,
pybind11,
}:
buildPythonPackage {
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 = [ ];
};
}