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