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,
hatch-vcs,
hatchling,
lxml,
nox,
pytest-docker,
pytest-selenium,
pytestCheckHook,
python-magic,
selenium,
sphinx,
}:
buildPythonPackage rec {
pname = "zundler";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "AdrianVollmer";
repo = "Zundler";
tag = version;
hash = "sha256-RUzVeJLRB9y6lS0tCkseoFgND1MXT7s2o7vNuUpdRDE=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
lxml
python-magic
sphinx
];
nativeCheckInputs = [
nox
pytestCheckHook
pytest-docker
pytest-selenium
selenium
];
# Tests are container-based
doCheck = false;
pythonImportsCheck = [ "zundler" ];
meta = {
description = "Bundle assets of distributed HTML docs into one self-contained HTML file";
homepage = "https://github.com/AdrianVollmer/Zundler";
changelog = "https://github.com/AdrianVollmer/Zundler/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|