mkdocs: 0.17.5 -> 1.0.4
This commit is contained in:
parent
10d9fe7d38
commit
04e2dd4c4f
1 changed files with 8 additions and 8 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue