1{ lib
2, buildPythonPackage
3, fetchPypi
4, jinja2
5, mistune
6, pygments
7, setuptools
8}:
9
10buildPythonPackage rec {
11 pname = "mrkd";
12 version = "0.2.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf";
17 };
18
19 propagatedBuildInputs = [ jinja2 mistune pygments setuptools ];
20
21 pythonImportsCheck = [ "mrkd" ];
22
23 meta = with lib; {
24 description = "Write man pages using Markdown, and convert them to Roff or HTML";
25 homepage = "https://github.com/refi64/mrkd";
26 license = licenses.bsd2;
27 # https://github.com/refi64/mrkd/pull/6
28 broken = versionAtLeast mistune.version "2";
29 };
30}