blob: a9454511dd6a8fef2908bd75e0a009f1b204cdfe (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
sphinx,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hatch-sphinx";
version = "0.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "llimeht";
repo = "hatch-sphinx";
tag = "v${version}";
hash = "sha256-8g0UkDMf05CVd2VbnV30pZpQ9chJhCkKfci7zmcIOoQ=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
hatchling
sphinx
];
pythonImportsCheck = [ "hatch_sphinx" ];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# /nix/store/62fdlzq1x1ak2lsxp4ij7ip5k9nia3hc-python3-3.13.7/bin/python3.13: No module named build
"test_tool_apidoc"
"test_tool_build"
"test_tool_custom_lists_globs"
"test_tool_custom_lists_noglobs"
"test_tool_custom_strings"
];
meta = {
description = "Hatchling build plugin for Sphinx documentation";
homepage = "https://github.com/llimeht/hatch-sphinx";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
|