python311Packages.pytest-markdown-docs: init at 0.5.1

This commit is contained in:
Gaetan Lepage
2024-05-07 13:56:14 +02:00
parent b8a489ab7b
commit 8224753ddf
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, markdown-it-py
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-markdown-docs";
version = "0.5.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "modal-com";
repo = "pytest-markdown-docs";
rev = "refs/tags/v${version}";
hash = "sha256-mclN28tfPcoFxswECjbrkeOI51XXSqUXfbvuSHrd7Sw=";
};
build-system = [
poetry-core
];
dependencies = [
markdown-it-py
pytest
];
pythonImportsCheck = [
"pytest_markdown_docs"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Run pytest on markdown code fence blocks";
homepage = "https://github.com/modal-com/pytest-markdown-docs";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -12120,6 +12120,8 @@ self: super: with self; {
pytest-logdog = callPackage ../development/python-modules/pytest-logdog { };
pytest-markdown-docs = callPackage ../development/python-modules/pytest-markdown-docs { };
pytest-md-report = callPackage ../development/python-modules/pytest-md-report { };
pytest-metadata = callPackage ../development/python-modules/pytest-metadata { };