Merge pull request #269394 from r-ryantm/auto-update/python311Packages.mdformat-mkdocs

python311Packages.mdformat-mkdocs: 1.0.6 -> 1.1.0
This commit is contained in:
Fabian Affolter 2023-11-23 21:42:46 +01:00 committed by GitHub
commit 6e31010bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,20 +6,21 @@
, mdformat-gfm
, mdit-py-plugins
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mdformat-mkdocs";
version = "1.0.6";
format = "pyproject";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "KyleKing";
repo = pname;
repo = "mdformat-mkdocs";
rev = "refs/tags/v${version}";
hash = "sha256-l4B/DR0pKZG62+sBG+fiux/XeF3ewxb2TYa+Zs1O3kU=";
hash = "sha256-5MCsXCkYnoLEZZoj9WrO/Z3VzTKagoOrMCuTpA4dGAQ=";
};
nativeBuildInputs = [
@ -32,6 +33,10 @@ buildPythonPackage rec {
mdit-py-plugins
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mdformat_mkdocs"
];
@ -39,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "mdformat plugin for MkDocs";
homepage = "https://github.com/KyleKing/mdformat-mkdocs";
changelog = "https://github.com/KyleKing/mdformat-mkdocs/releases/tag/v${version}";
changelog = "https://github.com/KyleKing/mdformat-mkdocs/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero ];
};