searxng: unstable-2023-10-31 -> 0-unstable-2024-02-24 (#290962)
This commit is contained in:
parent
fcea2b6260
commit
94cf4ea2ee
1 changed files with 7 additions and 7 deletions
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "searxng";
|
pname = "searxng";
|
||||||
version = "unstable-2023-10-31";
|
version = "0-unstable-2024-02-24";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = "searxng";
|
||||||
repo = pname;
|
repo = "searxng";
|
||||||
rev = "b05a15540e1dc2dfb8e4e25aa537b2a68e713844";
|
rev = "d72fa99bd0a4d702a55188b07919ce5a764b1d6c";
|
||||||
hash = "sha256-x0PyS+A4KjbBnTpca17Wx3BQjtOHvVuWpusPPc1ULnU=";
|
hash = "sha256-1A7dyWrF63fSSvWP+2HrCS6H8o/4CUlqiP0KANVZHUA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -20,7 +20,7 @@ python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
preBuild =
|
preBuild =
|
||||||
let
|
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;
|
commitAbbrev = builtins.substring 0 8 src.rev;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
@ -66,7 +66,7 @@ python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
|
||||||
ln -s ../${python3.sitePackages}/searx/static $out/share/
|
ln -s ../${python3.sitePackages}/searx/static $out/share/
|
||||||
|
|
||||||
# copy config schema for the limiter
|
# 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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue