From 04e7d4607d273c356000ba4dd09c9ac8f373b34a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 18 Jul 2025 15:29:37 +0200 Subject: [PATCH] searxng: 0-unstable-2025-07-16 -> 0-unstable-2025-07-18 --- nixos/modules/services/networking/searx.nix | 1 - pkgs/by-name/se/searxng/package.nix | 25 +++++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/networking/searx.nix b/nixos/modules/services/networking/searx.nix index e7a10bfffaba..b01e4e629ccb 100644 --- a/nixos/modules/services/networking/searx.nix +++ b/nixos/modules/services/networking/searx.nix @@ -292,7 +292,6 @@ in ] )) "s" }://${cfg.domain}/"; - ui.static_use_hash = true; valkey.url = lib.mkIf cfg.redisCreateLocally "unix://${config.services.redis.servers.searx.unixSocket}"; }; }; diff --git a/pkgs/by-name/se/searxng/package.nix b/pkgs/by-name/se/searxng/package.nix index 26ba1dc68bfc..adf5c3216223 100644 --- a/pkgs/by-name/se/searxng/package.nix +++ b/pkgs/by-name/se/searxng/package.nix @@ -13,19 +13,28 @@ in python.pkgs.toPythonModule ( python.pkgs.buildPythonApplication rec { pname = "searxng"; - version = "0-unstable-2025-07-16"; - format = "setuptools"; + version = "0-unstable-2025-07-18"; + pyproject = true; src = fetchFromGitHub { owner = "searxng"; repo = "searxng"; - rev = "62fac1c6a9db94682f8ef686f0424a482663b288"; - hash = "sha256-3Ma16EdQdqnXyz+ipH5qq9TF0+DwpNU2kq2RTgK5b/A="; + rev = "ff2e0ea2788a04ae5a13fc90b3725828a1ebc026"; + hash = "sha256-Pxpozg3ecqGzwUCXL9zYsCivr9VpCVSYc/kjZn+V4xk="; }; - postPatch = '' - sed -i 's/==/>=/' requirements.txt - ''; + nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; + + pythonRemoveDeps = [ + "typer-slim" # we use typer instead + ]; + + pythonRelaxDeps = [ + "certifi" + "httpx-socks" + "lxml" + "pygments" + ]; preBuild = let @@ -46,6 +55,8 @@ python.pkgs.toPythonModule ( EOF ''; + build-system = with python.pkgs; [ setuptools ]; + dependencies = with python.pkgs; [