blob: 7787892efdaa98ca16bbdcde4dd63f82846426c8 (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
markdown,
python,
}:
buildPythonPackage rec {
pname = "mdx_truly_sane_lists";
version = "1.3";
src = fetchFromGitHub {
owner = "radude";
repo = "mdx_truly_sane_lists";
rev = "refs/tags/${version}";
hash = "sha256-hPnqF1UA4peW8hzeFiMlsBPfodC1qJXETGoq2yUm7d4=";
};
propagatedBuildInputs = [ markdown ];
pythonImportsCheck = [ "mdx_truly_sane_lists" ];
checkPhase = ''
runHook preCheck
${python.interpreter} mdx_truly_sane_lists/tests.py
runHook postCheck
'';
meta = with lib; {
description = "Extension for Python-Markdown that makes lists truly sane";
longDescription = ''
Features custom indents for nested lists and fix for messy linebreaks and
paragraphs between lists.
'';
license = licenses.mit;
maintainers = with maintainers; [ kaction ];
};
}
|