1{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth 2, pytestCheckHook }: 3 4buildPythonPackage rec { 5 pname = "md2gemini"; 6 version = "1.9.0"; 7 8 propagatedBuildInputs = [ mistune cjkwrap wcwidth ]; 9 checkInputs = [ pytestCheckHook ]; 10 pythonImportsCheck = [ "md2gemini" ]; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-d1zuK+NqoPS36ihh8qx9gOET94tApY+SGStsc/bITnU="; 15 }; 16 17 meta = with lib; { 18 description = "Markdown to Gemini text format conversion library"; 19 homepage = "https://github.com/makeworld-the-better-one/md2gemini"; 20 license = licenses.lgpl3Plus; 21 maintainers = [ maintainers.kaction ]; 22 }; 23}