Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
521 B · 24 lines
Nix
12345678910111213141516171819202122232425{lib, buildPythonPackage, numpy, pkgs, pybind11 }:
buildPythonPackage rec { 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 = with maintainers; [ ]; };}