2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
2022-09-30 11:47:45 +00:00
|
|
|
, setuptools
|
2022-08-21 13:32:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mistune";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "2.0.5";
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-AkYRPLJJLbh1xr5Wl0p8iTMzvybNkokchfYxUc7gnTQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-08-21 13:32:41 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-08-21 13:32:41 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mistune" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-02-22 10:55:15 +00:00
|
|
|
changelog = "https://github.com/lepture/mistune/blob/v${version}/docs/changes.rst";
|
2022-08-21 13:32:41 +00:00
|
|
|
description = "A sane Markdown parser with useful plugins and renderers";
|
|
|
|
homepage = "https://github.com/lepture/mistune";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|