searxng: 0-unstable-2025-04-09 -> 0-unstable-2025-06-10, add updateScript

This commit is contained in:
⛧-440729 [sophie] 2025-06-11 14:10:40 +02:00
parent 3e3afe5174
commit fa841a42c2
No known key found for this signature in database
GPG Key ID: 8566000000440729

View File

@ -3,6 +3,7 @@
python3, python3,
fetchFromGitHub, fetchFromGitHub,
nixosTests, nixosTests,
unstableGitUpdater,
}: }:
let let
python = python3.override { python = python3.override {
@ -37,13 +38,13 @@ in
python.pkgs.toPythonModule ( python.pkgs.toPythonModule (
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
pname = "searxng"; pname = "searxng";
version = "0-unstable-2025-04-09"; version = "0-unstable-2025-06-10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "searxng"; owner = "searxng";
repo = "searxng"; repo = "searxng";
rev = "15384e8fc596da9c4a7e27393f8100018c3a61ed"; rev = "8888d71ab9391a8865959aa125cc7a1ae537f0b8";
hash = "sha256-exkn/gQALJteUAsg3qeSnRGEbKANkhSBDziWUgJ1fF8="; hash = "sha256-nQvh8tp11WYe44nzBofLmJr/2el+SECoGK0Ds4lvdC4=";
}; };
postPatch = '' postPatch = ''
@ -112,6 +113,7 @@ python.pkgs.toPythonModule (
tests = { tests = {
searxng = nixosTests.searx; searxng = nixosTests.searx;
}; };
updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
}; };
meta = with lib; { meta = with lib; {