mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-25 18:10:37 +00:00
Diff: https://github.com/lepture/mistune/compare/v3.3.3...v3.3.4 Changelog: https://github.com/lepture/mistune/blob/v3.3.4/docs/changes.rst
35 lines
814 B
Nix
35 lines
814 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "mistune";
|
|
version = "3.3.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lepture";
|
|
repo = "mistune";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-7N1Kz2lN6GyDVKUhuGrEkbinV8Vpc4aahal/7KhnIXo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "mistune" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/lepture/mistune/blob/${finalAttrs.src.tag}/docs/changes.rst";
|
|
description = "Sane Markdown parser with useful plugins and renderers";
|
|
homepage = "https://github.com/lepture/mistune";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
})
|