2022-08-12 11:25:56 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
|
2021-03-29 00:00:00 +00:00
|
|
|
, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "md2gemini";
|
2021-12-24 04:49:35 +00:00
|
|
|
version = "1.9.0";
|
2021-03-29 00:00:00 +00:00
|
|
|
|
2022-08-12 11:25:56 +00:00
|
|
|
propagatedBuildInputs = [ mistune cjkwrap wcwidth ];
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-03-29 00:00:00 +00:00
|
|
|
pythonImportsCheck = [ "md2gemini" ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-d1zuK+NqoPS36ihh8qx9gOET94tApY+SGStsc/bITnU=";
|
2021-03-29 00:00:00 +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 ];
|
|
|
|
};
|
|
|
|
}
|