searxng: unstable-2023-10-31 -> 0-unstable-2024-02-24 (#290962)

authored by

Sandro and committed by
GitHub
94cf4ea2 fcea2b62

+7 -7
+7 -7
pkgs/by-name/se/searxng/package.nix
··· 5 5 6 6 python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec { 7 7 pname = "searxng"; 8 - version = "unstable-2023-10-31"; 8 + version = "0-unstable-2024-02-24"; 9 9 10 10 src = fetchFromGitHub { 11 - owner = pname; 12 - repo = pname; 13 - rev = "b05a15540e1dc2dfb8e4e25aa537b2a68e713844"; 14 - hash = "sha256-x0PyS+A4KjbBnTpca17Wx3BQjtOHvVuWpusPPc1ULnU="; 11 + owner = "searxng"; 12 + repo = "searxng"; 13 + rev = "d72fa99bd0a4d702a55188b07919ce5a764b1d6c"; 14 + hash = "sha256-1A7dyWrF63fSSvWP+2HrCS6H8o/4CUlqiP0KANVZHUA="; 15 15 }; 16 16 17 17 postPatch = '' ··· 20 20 21 21 preBuild = 22 22 let 23 - versionString = lib.concatStringsSep "." (builtins.tail (lib.splitString "-" version)); 23 + versionString = lib.concatStringsSep "." (builtins.tail (lib.splitString "-" (lib.removePrefix "0-" version))); 24 24 commitAbbrev = builtins.substring 0 8 src.rev; 25 25 in 26 26 '' ··· 66 66 ln -s ../${python3.sitePackages}/searx/static $out/share/ 67 67 68 68 # copy config schema for the limiter 69 - cp searx/botdetection/limiter.toml $out/${python3.sitePackages}/searx/botdetection/limiter.toml 69 + cp searx/limiter.toml $out/${python3.sitePackages}/searx/limiter.toml 70 70 ''; 71 71 72 72 meta = with lib; {