1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, markdown-it-py 6, pytest-regressions 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "mdit-py-plugins"; 12 version = "0.2.8"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "executablebooks"; 19 repo = pname; 20 rev = "v${version}"; 21 hash = "sha256-MXQjaVDuguGbmby6BQnrTdpq6Mih3HabXuyFxf9jB18="; 22 }; 23 24 propagatedBuildInputs = [ markdown-it-py ]; 25 26 checkInputs = [ pytestCheckHook pytest-regressions ]; 27 pythonImportsCheck = [ "mdit_py_plugins" ]; 28 29 meta = with lib; { 30 description = "Collection of core plugins for markdown-it-py"; 31 homepage = "https://github.com/executablebooks/mdit-py-plugins"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ AluisioASG ]; 34 }; 35}