at 23.11-beta 43 lines 802 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-aiohttp 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "arris-tg2492lg"; 12 version = "2.1.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "vanbalken"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-C1o9HWWJ/G/7Pp6I0FbRmX2PQvUJx71L9wHRkUMtnL4="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 ]; 27 28 nativeCheckInputs = [ 29 pytest-aiohttp 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "arris_tg2492lg" 35 ]; 36 37 meta = with lib; { 38 description = "Library to connect to an Arris TG2492LG"; 39 homepage = "https://github.com/vanbalken/arris-tg2492lg"; 40 license = with licenses; [ mit ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}