searx: 1.0.0 -> 1.1.0

This commit is contained in:
Daniel Nagy 2022-09-16 10:04:53 +02:00
parent f639a138f9
commit 5dc6218a33
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -4,24 +4,16 @@ with python3Packages;
toPythonModule (buildPythonApplication rec {
pname = "searx";
version = "1.0.0";
version = "1.1.0";
# pypi doesn't receive updates
src = fetchFromGitHub {
owner = "searx";
repo = "searx";
rev = "v${version}";
sha256 = "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh";
sha256 = "sha256-+Wsg1k/h41luk5aVfSn11/lGv8hZYVvpHLbbYHfsExw=";
};
patches = [
# Fix a crash, remove with the next update
(fetchpatch {
url = "https://github.com/searx/searx/commit/9c10b150963babb7f0b52081693a42b2e61eede9.patch";
sha256 = "0svp8799628wja2hq59da6rxqi99am8p6hb8y27ciwzsjz0wwba7";
})
];
postPatch = ''
sed -i 's/==.*$//' requirements.txt
'';
@ -50,6 +42,7 @@ toPythonModule (buildPythonApplication rec {
pyyaml
requests
speaklater
setproctitle
werkzeug
];