From 278a7f9f20438f99979f1e4a4b72c03c2dc43344 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 1 Jun 2019 12:56:30 +0200 Subject: [PATCH] pythonPackages.Nikola: fix build --- pkgs/development/python-modules/Nikola/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/Nikola/default.nix b/pkgs/development/python-modules/Nikola/default.nix index 2577711c525..c6548f1b598 100644 --- a/pkgs/development/python-modules/Nikola/default.nix +++ b/pkgs/development/python-modules/Nikola/default.nix @@ -58,6 +58,12 @@ buildPythonPackage rec { sha256 = "1a5y1qriy76hl4yxvbf365b1ggsxybm06mi1pwb5jkgbkwk2gkrf"; }; + patchPhase = '' + # upstream added bound so that requires.io doesn't send mails about update + # nikola should work with markdown 3.0: https://github.com/getnikola/nikola/pull/3175#issue-220147596 + sed -i 's/Markdown>.*/Markdown/' requirements.txt + ''; + checkPhase = '' LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" py.test . '';