Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
830 B · 35 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536{ lib, stdenv, buildPythonPackage, fetchPypi, pybind11}:
buildPythonPackage rec { pname = "fasttext-predict"; version = "0.9.2.1"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-iSCt54tqBmNfrcntDFRXb550607Zr1mMCO2PC1ZbVQw="; };
nativeBuildInputs = [ pybind11 ];
# tests are removed from fork doCheck = false;
pythonImportsCheck = [ "fasttext" ];
meta = with lib; { description = "fasttext with wheels and no external dependency, but only the predict method (<1MB)"; homepage = "https://github.com/searxng/fasttext-predict/"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; # ImportError: dynamic module does not define module export function (PyInit_fasttext_pybind) broken = stdenv.isDarwin; };}