blob: 925d0a786af01e88c38a44484608623a1701895a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib, python, fetchFromGitHub }:
with python.pkgs;
buildPythonApplication rec {
pname = "mkdocs";
version = "0.17.5";
src = fetchFromGitHub {
owner = "mkdocs";
repo = "mkdocs";
rev = version;
sha256 = "1l1dahpwqikmww3yx2m6j2134npk8vcikg9klsmpqjpza8nigwzw";
};
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";
checkPhase = "nosetests mkdocs";
propagatedBuildInputs = [
tornado
livereload
click
pyyaml
markdown
jinja2
];
meta = {
homepage = http://mkdocs.org/;
description = "Project documentation with Markdown";
license = lib.licenses.bsd2;
};
}
|