{ lib, fetchFromGitHub, buildPythonPackage, parameterized, pygments, pytestCheckHook, }: buildPythonPackage rec { pname = "mistletoe"; version = "1.5.1"; format = "setuptools"; src = fetchFromGitHub { owner = "miyuchina"; repo = "mistletoe"; tag = "v${version}"; hash = "sha256-h2gKvh3P4pUUPwVYTIjz43/3CwZdWbhO3aJnwFBNR+Q="; }; pythonImportsCheck = [ "mistletoe" ]; nativeCheckInputs = [ parameterized pygments pytestCheckHook ]; meta = { description = "Fast and extensible Markdown parser"; mainProgram = "mistletoe"; homepage = "https://github.com/miyuchina/mistletoe"; changelog = "https://github.com/miyuchina/mistletoe/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eadwu ]; }; }