summary refs log tree commit diff
path: root/pkgs/development/python-modules/mrkd/default.nix
blob: 22cd93910d6b97aa581a90ed03782e62a9a63f71 (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
{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, mistune
, pygments
, setuptools
}:

buildPythonPackage rec {
  pname = "mrkd";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf";
  };

  propagatedBuildInputs = [ jinja2 mistune pygments setuptools ];

  pythonImportsCheck = [ "mrkd" ];

  meta = with lib; {
    description = "Write man pages using Markdown, and convert them to Roff or HTML";
    homepage = "https://github.com/refi64/mrkd";
    license = licenses.bsd2;
  };
}