Unverified Commit b8e6c38e authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

searxng: 0-unstable-2026-03-02 -> 0-unstable-2026-03-10 (#498579)

parents c1ac0c34 905cc072
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@ in
python.pkgs.toPythonModule (
  python.pkgs.buildPythonApplication rec {
    pname = "searxng";
    version = "0-unstable-2026-03-02";
    version = "0-unstable-2026-03-10";
    pyproject = true;

    src = fetchFromGitHub {
      owner = "searxng";
      repo = "searxng";
      rev = "dd98f761ad393e9efce113bfe56cfd40aa10ed2a";
      hash = "sha256-LSNStNZZddtWYbppPL4pNqT0oVcem/FLZFhk1DELG84=";
      rev = "8b95b2058be41580270f1dc348847c3342ee129b";
      hash = "sha256-5IdfqWj4zOSnkvsssSJywKXrY18DO/zPKNLAJ19Jirk=";
    };

    nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ];
@@ -54,7 +54,6 @@ python.pkgs.toPythonModule (
        babel
        certifi
        cloudscraper
        fasttext-predict
        flask
        flask-babel
        httpx
+0 −38
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  pybind11,
}:

buildPythonPackage rec {
  pname = "fasttext-predict";
  version = "0.9.2.4";
  format = "setuptools";

  src = fetchPypi {
    pname = "fasttext_predict";
    inherit version;
    hash = "sha256-GKb7DXTH35KA2x+Wy3XZkL/QBPqdZpST6j3T1U+E28c=";
  };

  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
    substituteInPlace setup.py \
      --replace-fail "-flto" ""
  '';

  nativeBuildInputs = [ pybind11 ];

  # tests are removed from fork
  doCheck = false;

  pythonImportsCheck = [ "fasttext" ];

  meta = {
    description = "fasttext with wheels and no external dependency, but only the predict method (<1MB)";
    homepage = "https://github.com/searxng/fasttext-predict/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ SuperSandro2000 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ mapAliases {
  face_recognition_models = throw "'face_recognition_models' has been renamed to/replaced by 'face-recognition-models'"; # Converted to throw 2025-10-29
  factory_boy = throw "'factory_boy' has been renamed to/replaced by 'factory-boy'"; # Converted to throw 2025-10-29
  fastnlo_toolkit = throw "'fastnlo_toolkit' has been renamed to/replaced by 'fastnlo-toolkit'"; # Converted to throw 2025-10-29
  fasttext-predict = throw "'fasttext-predict' has been removed as the only consumer searxng removed its usage"; # Added 2026-03-11
  fb-re2 = throw "fb-re2 has been removed since it is unmaintained upstream, consider google-re2 instead"; # added 2025-10-18
  fenics = throw "fenics has been removed, use fenics-dolfinx instead"; # added 2025-08-07
  filebrowser_safe = throw "'filebrowser_safe' has been renamed to/replaced by 'filebrowser-safe'"; # Converted to throw 2025-10-29
+0 −2
Original line number Diff line number Diff line
@@ -5449,8 +5449,6 @@ self: super: with self; {
  fasttext = callPackage ../development/python-modules/fasttext { };
  fasttext-predict = callPackage ../development/python-modules/fasttext-predict { };
  fastuuid = callPackage ../development/python-modules/fastuuid { };
  fatrop = toPythonModule (