From 7c9a0bf5341a33ffc0175f24e5ab574b0d6a68f7 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 8 Aug 2016 05:49:00 +0200 Subject: [PATCH] pythonPackages.searx: fix build The certifi package was upgraded but searx had a hard dependency on a specific version. It still works with the new version. --- pkgs/top-level/python-packages.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9fe5a47a9e61..d5fdec46277d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -26229,6 +26229,11 @@ in modules // { sha256 = "030qkrsj4as9anr8xfpk5n41qzg7w4yyjasb4cqislvyl1l1dvvs"; }; + postPatch = '' + substituteInPlace requirements.txt \ + --replace 'certifi==2015.11.20.1' 'certifi==2016.2.28' + ''; + propagatedBuildInputs = with self; [ pyyaml lxml_3_5 grequests flaskbabel flask requests2 gevent speaklater Babel pytz dateutil pygments_2_0