Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
932 B · 50 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pybind11, setuptools, wheel, numpy, pytestCheckHook,}:
buildPythonPackage rec { pname = "floret"; version = "0.10.5"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "explosion"; repo = "floret"; rev = "refs/tags/v${version}"; hash = "sha256-7vkw6H0ZQoHEwNusY6QWh/vPbSCdP1ZaaqABHsZH6hQ="; };
patches = [ ./cstdint.patch ];
nativeBuildInputs = [ pybind11 setuptools wheel ];
propagatedBuildInputs = [ numpy pybind11 ];
pythonImportsCheck = [ "floret" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "FastText + Bloom embeddings for compact, full-coverage vectors with spaCy"; homepage = "https://github.com/explosion/floret"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; };}