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

searxng: 0-unstable-2025-07-16 -> 0-unstable-2025-07-18 (#426391)

parents d09337b0 04e7d460
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -287,7 +287,6 @@ in
              ]
            )) "s"
          }://${cfg.domain}/";
          ui.static_use_hash = true;
          valkey.url = lib.mkIf cfg.redisCreateLocally "unix://${config.services.redis.servers.searx.unixSocket}";
        };
      };
+18 −7
Original line number Diff line number Diff line
@@ -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;
      [