Skip to content

Commit

Permalink
mkdocs: 0.17.5 -> 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tilpner committed Dec 14, 2018
1 parent 10d9fe7 commit 04e2dd4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/development/tools/documentation/mkdocs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -33,6 +32,7 @@ buildPythonApplication rec {
pyyaml
markdown
jinja2
backports_tempfile
];

meta = {
Expand Down

0 comments on commit 04e2dd4

Please sign in to comment.