about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-02-26 12:27:51 +0100
committerGitHub <noreply@github.com>2024-02-26 12:27:51 +0100
commit94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a (patch)
treec0c11d10a2bdce18ffdbb5547e038d177868ef85
parentfcea2b6260dd566c28c894b4207a5f2b56c2cba3 (diff)
downloadnixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar.gz
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar.bz2
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar.lz
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar.xz
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.tar.zst
nixlib-94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a.zip
searxng: unstable-2023-10-31 -> 0-unstable-2024-02-24 (#290962)
-rw-r--r--pkgs/by-name/se/searxng/package.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/by-name/se/searxng/package.nix b/pkgs/by-name/se/searxng/package.nix
index 24fd8be88478..c0d6cd63036d 100644
--- a/pkgs/by-name/se/searxng/package.nix
+++ b/pkgs/by-name/se/searxng/package.nix
@@ -5,13 +5,13 @@
 
 python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
   pname = "searxng";
-  version = "unstable-2023-10-31";
+  version = "0-unstable-2024-02-24";
 
   src = fetchFromGitHub {
-    owner = pname;
-    repo = pname;
-    rev = "b05a15540e1dc2dfb8e4e25aa537b2a68e713844";
-    hash = "sha256-x0PyS+A4KjbBnTpca17Wx3BQjtOHvVuWpusPPc1ULnU=";
+    owner = "searxng";
+    repo = "searxng";
+    rev = "d72fa99bd0a4d702a55188b07919ce5a764b1d6c";
+    hash = "sha256-1A7dyWrF63fSSvWP+2HrCS6H8o/4CUlqiP0KANVZHUA=";
   };
 
   postPatch = ''
@@ -20,7 +20,7 @@ python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
 
   preBuild =
     let
-      versionString = lib.concatStringsSep "." (builtins.tail (lib.splitString "-" version));
+      versionString = lib.concatStringsSep "." (builtins.tail (lib.splitString "-" (lib.removePrefix "0-" version)));
       commitAbbrev = builtins.substring 0 8 src.rev;
     in
     ''
@@ -66,7 +66,7 @@ python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
     ln -s ../${python3.sitePackages}/searx/static $out/share/
 
     # copy config schema for the limiter
-    cp searx/botdetection/limiter.toml $out/${python3.sitePackages}/searx/botdetection/limiter.toml
+    cp searx/limiter.toml $out/${python3.sitePackages}/searx/limiter.toml
   '';
 
   meta = with lib; {