5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
24 lines
711 B
Nix
24 lines
711 B
Nix
{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
|
|
, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "md2gemini";
|
|
version = "1.9.0";
|
|
|
|
propagatedBuildInputs = [ mistune cjkwrap wcwidth ];
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
pythonImportsCheck = [ "md2gemini" ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-d1zuK+NqoPS36ihh8qx9gOET94tApY+SGStsc/bITnU=";
|
|
};
|
|
|
|
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 ];
|
|
broken = versionAtLeast mistune.version "3";
|
|
};
|
|
}
|