Merge pull request #52128 from tilpner/add-mkdocs
mkdocs: 0.17.5 -> 1.0.4
This commit is contained in:
commit
e116aa1d4b
@ -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 New Issue
Block a user