Merge pull request #91356 from jojosch/searx-werkzeug-import

This commit is contained in:
Jörg Thalheim 2020-06-23 20:04:25 +01:00 committed by GitHub
commit f3d1942502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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' \