python3Packages.markdown-include: init at 0.6.0

This commit is contained in:
Martin Weinelt 2021-10-12 01:00:22 +02:00
parent e2c8c6ceeb
commit 59b8e7eb81
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, markdown
}:
buildPythonPackage rec {
pname = "markdown-include";
version = "0.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "18p4qfhazvskcg6xsdv1np8m1gc1llyabp311xzhqy7p6q76hpbg";
};
propagatedBuildInputs = [
markdown
];
pythonImportsCheck = [
"markdown_include"
];
doCheck = false; # no tests
meta = with lib; {
description = "Extension to Python-Markdown which provides an include function";
homepage = "https://github.com/cmacmackin/markdown-include";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -4587,6 +4587,8 @@ in {
markdown = callPackage ../development/python-modules/markdown { };
markdown-include = callPackage ../development/python-modules/markdown-include { };
markdown-it-py = callPackage ../development/python-modules/markdown-it-py { };
markdown-macros = callPackage ../development/python-modules/markdown-macros { };