searxng: unstable-2023-05-19 -> unstable-2023-06-26

This commit is contained in:
Sophie Tauchert 2023-06-28 08:33:53 +02:00
parent 6b3d1b1cf1
commit d129a6767e
No known key found for this signature in database
GPG key ID: E68147EB80DEB60B

View file

@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "searxng"; pname = "searxng";
version = "unstable-2023-05-19"; version = "unstable-2023-06-26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "d867bf17e6d2f9a7c83c9a1ffafda5184a24c0e3"; rev = "da7c30291dcf53cc5b3d98f9aada5615cd1593a9";
sha256 = "sha256-W7/8/3FzwErPkRlfuyqajova6LRKarANPtc6L/z20CI="; sha256 = "sha256-kbNw/YgcBZNkmn2nmsnEnc9Y8MJg3zGFdW1x9GIo+dM=";
}; };
postPatch = '' postPatch = ''
@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec {
jinja2 jinja2
lxml lxml
pygments pygments
pytomlpp
pyyaml pyyaml
redis redis
uvloop uvloop
@ -50,6 +51,9 @@ python3.pkgs.buildPythonApplication rec {
# Create a symlink for easier access to static data # Create a symlink for easier access to static data
mkdir -p $out/share mkdir -p $out/share
ln -s ../${python3.sitePackages}/searx/static $out/share/ 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
''; '';
meta = with lib; { meta = with lib; {