blob: c006ec3ca9d8e757ee471a8d00d07b4a233b98ca (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
sphinx,
pytestCheckHook,
beautifulsoup4,
}:
buildPythonPackage rec {
pname = "sphinx-favicon";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tcmetzger";
repo = "sphinx-favicon";
tag = "v${version}";
hash = "sha256-Arcjj+6WWuSfufh8oqrDyAtjp07j1JEuw2YlmFcfL3U=";
};
build-system = [
setuptools
];
dependencies = [
sphinx
];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
beautifulsoup4
];
disabledTests = [
# requires network to download favicons
"test_list_of_three_icons_automated_values"
];
pythonImportsCheck = [ "sphinx_favicon" ];
meta = {
description = "Sphinx extension to add custom favicons";
homepage = "https://github.com/tcmetzger/sphinx-favicon";
changelog = "https://github.com/tcmetzger/sphinx-favicon/blob/v${version}/CHANGELOG";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.newam ];
};
}
|