about summary refs log tree commit diff
path: root/pkgs/development/python-modules/recommonmark/default.nix
blob: e03bd3536271475c86a0cb5b553025a12efa9e6b (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
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, sphinx
, CommonMark_54
, docutils
}:

buildPythonPackage rec {
  pname = "recommonmark";
  name = "${pname}-${version}";
  version = "0.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6e29c723abcf5533842376d87c4589e62923ecb6002a8e059eb608345ddaff9d";
  };

  checkInputs = [ pytest sphinx ];
  propagatedBuildInputs = [ CommonMark_54 docutils ];

  # No tests in archive
  doCheck = false;

  meta = {
    description = "A docutils-compatibility bridge to CommonMark";
    homepage = https://github.com/rtfd/recommonmark;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fridh ];
  };
}