blob: 7ad089469ed78da09c854a66794941eef9d92f1b (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mktestdocs";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "koaning";
repo = "mktestdocs";
tag = version;
hash = "sha256-OiOkU/qfxeLbCT1QywA1rGSwe9Ja8tENTmBo93vo0vc=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "mktestdocs" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Run pytest against markdown files/docstrings";
homepage = "https://github.com/koaning/mktestdocs";
changelog = "https://github.com/koaning/mktestdocs/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
|