mkdocs: 0.17.5 -> 1.0.4

This commit is contained in:
tilpner 2018-12-15 00:48:32 +01:00
parent 10d9fe7d38
commit 04e2dd4c4f
No known key found for this signature in database
GPG key ID: 6A13327225BE51F6

View file

@ -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 = {