mkdocs: fix build

This commit is contained in:
Robert Schütz 2018-04-06 16:30:14 +02:00 committed by Frederik Rietdijk
parent dcb13a7a06
commit adf1a734ff

View File

@ -5,7 +5,6 @@ with python.pkgs;
buildPythonApplication rec {
pname = "mkdocs";
version = "0.17.3";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mkdocs";
@ -14,6 +13,11 @@ buildPythonApplication rec {
sha256 = "15lv60gdc837zja5kn2rfp78kwyb1ckc43jg01zfzqra4qz7b6rw";
};
postPatch = ''
substituteInPlace setup.py \
--replace "tornado>=4.1,<5.0" "tornado>=4.1"
'';
checkInputs = [
nose nose-exclude mock
];