1{ lib, buildPythonPackage, fetchPypi, mistune_2_0, cjkwrap, wcwidth
2, pytestCheckHook }:
3
4buildPythonPackage rec {
5 pname = "md2gemini";
6 version = "1.8.1";
7
8 propagatedBuildInputs = [ mistune_2_0 cjkwrap wcwidth ];
9 checkInputs = [ pytestCheckHook ];
10 pythonImportsCheck = [ "md2gemini" ];
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "0mfa0f0m762168fbsxjr1cx9yhj82dr8z1d28jl6hj9bkqnvvwiy";
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}