python311Packages.mdformat-mkdocs: enable tests

This commit is contained in:
Fabian Affolter 2023-11-23 11:33:55 +01:00
parent aa7c4d7148
commit 471655e878

View file

@ -6,18 +6,19 @@
, mdformat-gfm
, mdit-py-plugins
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mdformat-mkdocs";
version = "1.1.0";
format = "pyproject";
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-5MCsXCkYnoLEZZoj9WrO/Z3VzTKagoOrMCuTpA4dGAQ=";
};
@ -32,6 +33,10 @@ buildPythonPackage rec {
mdit-py-plugins
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mdformat_mkdocs"
];