19 buildPythonPackage rec {
20 pname = "python-creole";
24 src = fetchFromGitHub {
26 repo = "python-creole";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-8pXOnLNjhIv0d+BqjW8wlb6BT6CmFHSsxn5wLOv3LBQ=";
32 # https://github.com/jedie/python-creole/pull/77
34 name = "replace-poetry-with-poetry-core.patch";
35 url = "https://github.com/jedie/python-creole/commit/bfc46730ab4a189f3142246cead8d26005a28671.patch";
36 hash = "sha256-WtoEQyu/154Cfj6eSnNA+t37+o7Ij328QGMKxwcLg5k=";
45 substituteInPlace Makefile \
46 --replace "/bin/bash" "${runtimeShell}"
48 sed -i "/-cov/d" pytest.ini
51 propagatedBuildInputs = [
55 pythonImportsCheck = [
66 export PATH=$out/bin:$PATH
70 # macro didn't expect argument
71 "test_macro_wrong_arguments_quite"
72 "test_macro_wrong_arguments_with_error_report"
73 # rendering mismatches, likely docutils version mismatch
80 "creole/tests/test_Makefile.py"
81 # requires poetry_publish
83 "creole/tests/test_project_setup.py"
84 # rendering differencenes, likely docutils version mismatch
85 "creole/tests/test_cross_compare_rest.py"
86 "creole/tests/test_rest2html.py"
90 description = "Creole markup tools written in Python";
91 homepage = "https://github.com/jedie/python-creole";
92 changelog = "https://github.com/jedie/python-creole/releases/tag/v${version}";
93 license = licenses.gpl3Plus;
94 maintainers = with maintainers; [ hexa ];