at master 511 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 numpy, 5 pkgs, 6 pybind11, 7}: 8 9buildPythonPackage { 10 inherit (pkgs.fasttext) pname version src; 11 12 format = "setuptools"; 13 14 buildInputs = [ pybind11 ]; 15 16 pythonImportsCheck = [ "fasttext" ]; 17 18 propagatedBuildInputs = [ numpy ]; 19 20 preBuild = '' 21 HOME=$TMPDIR 22 ''; 23 24 meta = with lib; { 25 description = "Python module for text classification and representation learning"; 26 homepage = "https://fasttext.cc/"; 27 license = licenses.mit; 28 maintainers = [ ]; 29 }; 30}