3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #191550 from nagy/searx-110

This commit is contained in:
Sandro 2022-11-28 01:13:10 +01:00 committed by GitHub
commit c4746613d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];