mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
26 lines
736 B
Nix
26 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";
|
|
};
|
|
}
|