depot/third_party/nixpkgs/pkgs/development/python-modules/md2gemini/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

23 lines
664 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;
sha256 = "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 ];
};
}