blob: e6b872417d3f6e18f63ae77bb2a88ca45a1e6b64 (
about) (
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
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mdformat,
mdit-py-plugins,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "mdformat-admon";
version = "2.0.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "KyleKing";
repo = "mdformat-admon";
tag = "v${version}";
hash = "sha256-YyEiqry1dAm/2EEuQjPFEfdpLI+NiLhVcyx4jAyXs4E=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
mdformat
mdit-py-plugins
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Mdformat plugin for admonitions";
homepage = "https://github.com/KyleKing/mdformat-admon";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero ];
};
}
|