nixpkgs/pkgs/development/python-modules/md2gemini/default.nix
Robert Schütz 243053e521 python310Packages.mistune: 0.8.4 -> 2.0.4
Remove mistune_0_8 because it's insecure.
2022-08-15 06:53:01 +00:00

24 lines
658 B
Nix

{ lib, buildPythonPackage, fetchPypi, mistune, cjkwrap, wcwidth
, pytestCheckHook }:
buildPythonPackage rec {
pname = "md2gemini";
version = "1.9.0";
propagatedBuildInputs = [ mistune cjkwrap wcwidth ];
checkInputs = [ 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 ];
};
}