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
|
, mdformat-gfm
|
||||||
, mdit-py-plugins
|
, mdit-py-plugins
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mdformat-mkdocs";
|
pname = "mdformat-mkdocs";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KyleKing";
|
owner = "KyleKing";
|
||||||
repo = pname;
|
repo = "mdformat-mkdocs";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-5MCsXCkYnoLEZZoj9WrO/Z3VzTKagoOrMCuTpA4dGAQ=";
|
hash = "sha256-5MCsXCkYnoLEZZoj9WrO/Z3VzTKagoOrMCuTpA4dGAQ=";
|
||||||
};
|
};
|
||||||
|
@ -32,6 +33,10 @@ buildPythonPackage rec {
|
||||||
mdit-py-plugins
|
mdit-py-plugins
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"mdformat_mkdocs"
|
"mdformat_mkdocs"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue