1{ lib
2, buildPythonPackage
3, cffi
4, fetchPypi
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "cmarkgfm";
10 version = "0.5.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-tqVJq6Mnq9mG1nSM8hyGN9dBx2hQ5/773vjSi/4TjjI=";
15 };
16
17 propagatedBuildInputs = [ cffi ];
18
19 checkInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "cmarkgfm" ];
22
23 meta = with lib; {
24 description = "Minimal bindings to GitHub's fork of cmark";
25 homepage = "https://github.com/jonparrott/cmarkgfm";
26 license = licenses.mit;
27 maintainers = with maintainers; [ fab ];
28 };
29}