1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, setuptools
6}:
7
8buildPythonPackage rec {
9 pname = "mistune";
10 version = "2.0.4";
11
12 format = "pyproject";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "9ee0a66053e2267aba772c71e06891fa8f1af6d4b01d5e84e267b4570d4d9808";
17 };
18
19 nativeBuildInputs = [
20 setuptools
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 pythonImportsCheck = [ "mistune" ];
28
29 meta = with lib; {
30 description = "A sane Markdown parser with useful plugins and renderers";
31 homepage = "https://github.com/lepture/mistune";
32 license = licenses.bsd3;
33 maintainers = with maintainers; [ dotlambda ];
34 };
35}