blob: 9c5705dbc408329576b86b381d309e0e9fc2f8dd (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, markdown-it-py
, pytest-regressions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mdit-py-plugins";
version = "0.2.8";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "executablebooks";
repo = pname;
rev = "v${version}";
hash = "sha256-MXQjaVDuguGbmby6BQnrTdpq6Mih3HabXuyFxf9jB18=";
};
propagatedBuildInputs = [ markdown-it-py ];
checkInputs = [ pytestCheckHook pytest-regressions ];
pythonImportsCheck = [ "mdit_py_plugins" ];
meta = with lib; {
description = "Collection of core plugins for markdown-it-py";
homepage = "https://github.com/executablebooks/mdit-py-plugins";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}
|