blob: bd588b73787d1c67a31f316509788fd51ee49b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
parameterized,
pygments,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mistletoe";
version = "1.4.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "miyuchina";
repo = "mistletoe";
tag = "v${version}";
hash = "sha256-jFU16vdASGVSPq+TJ/6cN7IGkE/61SL9BWCOPsVqNaU=";
};
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/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eadwu ];
};
}
|