diff --git a/pkgs/development/tools/documentation/mkdocs/default.nix b/pkgs/development/tools/documentation/mkdocs/default.nix index 925d0a786af0..5f3dff95e358 100644 --- a/pkgs/development/tools/documentation/mkdocs/default.nix +++ b/pkgs/development/tools/documentation/mkdocs/default.nix @@ -4,25 +4,24 @@ with python.pkgs; buildPythonApplication rec { pname = "mkdocs"; - version = "0.17.5"; + version = "1.0.4"; src = fetchFromGitHub { owner = "mkdocs"; repo = "mkdocs"; rev = version; - sha256 = "1l1dahpwqikmww3yx2m6j2134npk8vcikg9klsmpqjpza8nigwzw"; + sha256 = "1x35vgiskgz4wwrvi4m1mri5wlphf15p90fr3rxsy5bf19v3s9hs"; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "tornado>=4.1,<5.0" "tornado>=4.1" - ''; - checkInputs = [ nose nose-exclude mock ]; - NOSE_EXCLUDE_TESTS="mkdocs.tests.gh_deploy_tests.TestGitHubDeploy;mkdocs.tests.config.config_tests.ConfigTests"; + NOSE_EXCLUDE_TESTS = lib.concatStringsSep ";" [ + "mkdocs.tests.gh_deploy_tests.TestGitHubDeploy" + "mkdocs.tests.config.config_tests.ConfigTests" + "mkdocs.tests.config.config_options_tests.DirTest" + ]; checkPhase = "nosetests mkdocs"; @@ -33,6 +32,7 @@ buildPythonApplication rec { pyyaml markdown jinja2 + backports_tempfile ]; meta = {