python311Packages.mdformat-mkdocs: enable tests
This commit is contained in:
parent
aa7c4d7148
commit
471655e878
1 changed files with 9 additions and 4 deletions
|
@ -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"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue