searxng: 0-unstable-2025-07-16 -> 0-unstable-2025-07-18

This commit is contained in:
Sandro Jäckel
2025-07-24 22:55:01 +02:00
parent f6e9250bf0
commit 04e7d4607d
2 changed files with 18 additions and 8 deletions
@@ -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}";
};
};
+18 -7
View File
@@ -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;
[