searx: fix werkzeug.contrib import
This commit is contained in:
parent
801b645b2a
commit
dec248b07f
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3Packages, fetchFromGitHub }:
|
{ lib, python3Packages, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
|
|
||||||
@ -14,6 +14,11 @@ buildPythonApplication rec {
|
|||||||
sha256 = "0hfa4nmis98yvghxw866rzjpmhb2ln8l6l8g9yx4m79b2lk76xcs";
|
sha256 = "0hfa4nmis98yvghxw866rzjpmhb2ln8l6l8g9yx4m79b2lk76xcs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [(fetchpatch {
|
||||||
|
url = "https://github.com/asciimoo/searx/commit/b8b13372c8fd3bfe978a1c724ab98b05348df054.patch";
|
||||||
|
sha256 = "1zc3dx8pgqfg0bj48ihckjk9xrrm33jlnmj8k02g17gfcmj7566a";
|
||||||
|
})];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace 'certifi==2019.3.9' 'certifi' \
|
--replace 'certifi==2019.3.9' 'certifi' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user