2022-08-21 13:32:41 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
|
2021-04-26 19:14:03 +00:00
|
|
|
, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "md2gemini";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.9.0";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
propagatedBuildInputs = [ mistune cjkwrap wcwidth ];
|
2021-04-26 19:14:03 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "md2gemini" ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-d1zuK+NqoPS36ihh8qx9gOET94tApY+SGStsc/bITnU=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Markdown to Gemini text format conversion library";
|
|
|
|
homepage = "https://github.com/makeworld-the-better-one/md2gemini";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = [ maintainers.kaction ];
|
|
|
|
};
|
|
|
|
}
|