Skip to content

Commit

Permalink
Merge pull request #91356 from jojosch/searx-werkzeug-import
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 23, 2020
2 parents 02c71d7 + dec248b commit f3d1942
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/servers/web-apps/searx/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub, fetchpatch }:

with python3Packages;

Expand All @@ -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' \
Expand Down

0 comments on commit f3d1942

Please sign in to comment.