Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytest-aiohttp, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "arris-tg2492lg"; 14 version = "2.2.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "vanbalken"; 21 repo = "arris-tg2492lg"; 22 tag = version; 23 hash = "sha256-MQq9jMUoJgqaY0f9YIbhME2kO+ektPqBnT9REg3qDpg="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ aiohttp ]; 29 30 nativeCheckInputs = [ 31 pytest-aiohttp 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "arris_tg2492lg" ]; 36 37 meta = with lib; { 38 description = "Library to connect to an Arris TG2492LG"; 39 homepage = "https://github.com/vanbalken/arris-tg2492lg"; 40 changelog = "https://github.com/vanbalken/arris-tg2492lg/releases/tag/${version}"; 41 license = with licenses; [ mit ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}