depot/third_party/nixpkgs/pkgs/development/python-modules/md2gemini/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

24 lines
711 B
Nix

{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
, pytestCheckHook }:
buildPythonPackage rec {
pname = "md2gemini";
version = "1.9.1";
propagatedBuildInputs = [ mistune cjkwrap wcwidth ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "md2gemini" ];
src = fetchPypi {
inherit pname version;
hash = "sha256-XreDqqzH3UQ+RIBOrvHpaBb7PXcPPptjQx5cjpI+VzQ=";
};
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";
};
}