mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
https://github.com/miyuchina/mistletoe/releases/tag/v1.5.1 This commit was automatically generated using update-python-libraries.
38 lines
819 B
Nix
38 lines
819 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|