depot/third_party/nixpkgs/pkgs/development/python-modules/md2gemini/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
736 B
Nix

{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
, pytestCheckHook }:
buildPythonPackage rec {
pname = "md2gemini";
version = "1.9.1";
format = "setuptools";
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";
};
}