1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitLab, 5 setuptools, 6 pytestCheckHook, 7 beautifulsoup4, 8}: 9 10buildPythonPackage rec { 11 pname = "airium"; 12 version = "0.2.7"; 13 pyproject = true; 14 15 src = fetchFromGitLab { 16 owner = "kamichal"; 17 repo = "airium"; 18 tag = "v${version}"; 19 hash = "sha256-sXyqGYBjyQ3Ig1idw+omrjj+ElknN9oemzob7NxFppo="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ 25 beautifulsoup4 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ 30 # Tests require internet access, broken in sandbox 31 "test_get_bad_content_type" 32 "test_translate_remote_file" 33 ]; 34 35 meta = { 36 description = "Bidirectional HTML-python translator"; 37 homepage = "https://gitlab.com/kamichal/airium"; 38 changelog = "https://gitlab.com/kamichal/airium/-/blob/${src.tag}/CHANGELOG.md"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ hulr ]; 41 mainProgram = "airium"; 42 }; 43}