blob: 493460381d3083535a9f7be4dd3e05a995bd1ea0 (
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
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
commonmark,
docutils,
sphinx,
isPy3k,
}:
buildPythonPackage rec {
pname = "recommonmark";
version = "0.7.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "rtfd";
repo = "recommonmark";
rev = version;
sha256 = "0kwm4smxbgq0c0ybkxfvlgrfb3gq9amdw94141jyykk9mmz38379";
};
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
commonmark
docutils
sphinx
];
disabledTests = [
# https://github.com/readthedocs/recommonmark/issues/164
"test_lists"
"test_integration"
];
doCheck = !isPy3k; # Not yet compatible with latest Sphinx.
pythonImportsCheck = [ "recommonmark" ];
meta = {
description = "Docutils-compatibility bridge to CommonMark";
homepage = "https://github.com/rtfd/recommonmark";
license = lib.licenses.mit;
};
}
|