searx: fix werkzeug.contrib import

This commit is contained in:
Johannes Schleifenbaum 2020-06-23 14:46:38 +02:00
parent 801b645b2a
commit dec248b07f
No known key found for this signature in database
GPG key ID: 059093B1A278BCD0

View file

@ -1,4 +1,4 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub, fetchpatch }:
with python3Packages;
@ -14,6 +14,11 @@ buildPythonApplication rec {
sha256 = "0hfa4nmis98yvghxw866rzjpmhb2ln8l6l8g9yx4m79b2lk76xcs";
};
patches = [(fetchpatch {
url = "https://github.com/asciimoo/searx/commit/b8b13372c8fd3bfe978a1c724ab98b05348df054.patch";
sha256 = "1zc3dx8pgqfg0bj48ihckjk9xrrm33jlnmj8k02g17gfcmj7566a";
})];
postPatch = ''
substituteInPlace requirements.txt \
--replace 'certifi==2019.3.9' 'certifi' \