mdformat-mkdocs: init at 1.0.2

This commit is contained in:
Aldo Borrero 2023-06-30 13:40:26 +02:00
parent da7459f412
commit 81578d2c37
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mdformat
, mdformat-gfm
, mdit-py-plugins
, pythonOlder
}:
buildPythonPackage rec {
pname = "mdformat-mkdocs";
version = "1.0.2";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "KyleKing";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-H+wqgcXNrdrZ5aQvZ7XM8YpBpVZM6pFtsANC00UZ0jM=";
};
buildInputs = [
mdformat
mdformat-gfm
mdit-py-plugins
];
pythonImportsCheck = [
"mdformat_mkdocs"
];
meta = with lib; {
description = "mdformat plugin for MkDocs";
homepage = "https://github.com/KyleKing/mdformat-mkdocs";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero ];
};
}

View File

@ -6215,6 +6215,7 @@ self: super: with self; {
mdformat-footnote = callPackage ../development/python-modules/mdformat-footnote { };
mdformat-frontmatter = callPackage ../development/python-modules/mdformat-frontmatter { };
mdformat-gfm = callPackage ../development/python-modules/mdformat-gfm { };
mdformat-mkdocs = callPackage ../development/python-modules/mdformat-mkdocs { };
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };