blob: c13985c253b5afc913d96462d32ef821ec1a0443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
markdown-it-py,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-markdown-docs";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "modal-com";
repo = "pytest-markdown-docs";
tag = "v${version}";
hash = "sha256-mclN28tfPcoFxswECjbrkeOI51XXSqUXfbvuSHrd7Sw=";
};
build-system = [ poetry-core ];
dependencies = [
markdown-it-py
pytest
];
pythonImportsCheck = [ "pytest_markdown_docs" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Run pytest on markdown code fence blocks";
homepage = "https://github.com/modal-com/pytest-markdown-docs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
|