blob: 56373f8f6cc7577cfa5de8620ffcb13a7ab27a4d (
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
|
{
lib,
buildPythonPackage,
fetchFromGitLab,
setuptools,
pytestCheckHook,
beautifulsoup4,
}:
buildPythonPackage rec {
pname = "airium";
version = "0.2.7";
pyproject = true;
src = fetchFromGitLab {
owner = "kamichal";
repo = "airium";
tag = "v${version}";
hash = "sha256-sXyqGYBjyQ3Ig1idw+omrjj+ElknN9oemzob7NxFppo=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
beautifulsoup4
pytestCheckHook
];
disabledTests = [
# Tests require internet access, broken in sandbox
"test_get_bad_content_type"
"test_translate_remote_file"
];
meta = {
description = "Bidirectional HTML-python translator";
homepage = "https://gitlab.com/kamichal/airium";
changelog = "https://gitlab.com/kamichal/airium/-/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hulr ];
mainProgram = "airium";
};
}
|