1{ lib
2, bleach
3, buildPythonPackage
4, cmarkgfm
5, docutils
6, fetchPypi
7, future
8, mock
9, pygments
10, pytestCheckHook
11, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "readme_renderer";
16 version = "30.0";
17 disabled = pythonOlder "3.6";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "sha256-gplwDXqRDDBAcqdgHq+tpnEqWwEaIBOUF+Gx6fBGRdg=";
22 };
23
24 propagatedBuildInputs = [
25 bleach
26 cmarkgfm
27 docutils
28 future
29 pygments
30 ];
31
32 checkInputs = [
33 mock
34 pytestCheckHook
35 ];
36
37 pythonImportsCheck = [ "readme_renderer" ];
38
39 meta = with lib; {
40 description = "Python library for rendering readme descriptions";
41 homepage = "https://github.com/pypa/readme_renderer";
42 license = with licenses; [ asl20 ];
43 maintainers = with maintainers; [ fab ];
44 };
45}