blob: 16585db0f30d12f96861960d489c6a4c9392996b (
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,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mdformat,
mdit-py-plugins,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdformat-admon";
version = "2.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "KyleKing";
repo = "mdformat-admon";
tag = "v${version}";
hash = "sha256-y0TNyje2OXBY4oo9kBePlqSZAU36vbQQKZUPm/u6DAc=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
mdformat
mdit-py-plugins
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Mdformat plugin for admonitions";
homepage = "https://github.com/KyleKing/mdformat-admon";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aldoborrero ];
};
}
|