blob: fb76d7e14a5c2c7016b2567cfef4dfdc1a0e5cb8 (
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,
markdown-it-py,
pytest-regressions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdit-py-plugins";
version = "0.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mdit-py-plugins";
tag = "v${version}";
hash = "sha256-aY2DMLh1OkWVcN6A29FLba1ETerf/EOqSjHVpsdE21M=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ markdown-it-py ];
nativeCheckInputs = [
pytestCheckHook
pytest-regressions
];
pythonImportsCheck = [ "mdit_py_plugins" ];
meta = {
description = "Collection of core plugins for markdown-it-py";
homepage = "https://github.com/executablebooks/mdit-py-plugins";
changelog = "https://github.com/executablebooks/mdit-py-plugins/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|