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