Merge pull request #121153 from fabaff/bump-denonavr

authored by Martin Weinelt and committed by GitHub 144dc280 4f09b043

+70 -11
+38
pkgs/development/python-modules/asyncstdlib/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , typing-extensions 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "asyncstdlib"; 11 + version = "3.9.1"; 12 + disabled = pythonOlder "3.7"; 13 + format = "flit"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "maxfischer2781"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "13ranr7zi61w52vfrxwkf32bbhk88j0r5c5z2x2h5vw268001lk2"; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + typing-extensions 24 + ]; 25 + 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + pythonImportsCheck = [ "asyncstdlib" ]; 31 + 32 + meta = with lib; { 33 + description = "Python library that extends the Python asyncio standard library"; 34 + homepage = "https://asyncstdlib.readthedocs.io/"; 35 + license = with licenses; [ mit ]; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+29 -11
pkgs/development/python-modules/denonavr/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces 2 - , pytestCheckHook, testtools, requests-mock }: 1 + { lib 2 + , asyncstdlib 3 + , attrs 4 + , buildPythonPackage 5 + , defusedxml 6 + , fetchFromGitHub 7 + , httpx 8 + , netifaces 9 + , pytest-asyncio 10 + , pytestCheckHook 11 + , pytest-httpx 12 + , pytest-timeout 13 + , pythonOlder 14 + }: 3 15 4 16 buildPythonPackage rec { 5 17 pname = "denonavr"; 6 - version = "0.9.10"; 7 - disabled = isPy27; 18 + version = "0.10.6"; 19 + disabled = pythonOlder "3.6"; 8 20 9 21 src = fetchFromGitHub { 10 22 owner = "scarface-4711"; 11 - repo = "denonavr"; 23 + repo = pname; 12 24 rev = version; 13 - sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A="; 25 + sha256 = "sha256-jcbjExcyZSE+qVPuYiMmuneugDMBoYz4apY/lz4JnMI="; 14 26 }; 15 27 16 28 propagatedBuildInputs = [ 17 - requests 29 + asyncstdlib 30 + attrs 31 + defusedxml 32 + httpx 18 33 netifaces 19 34 ]; 20 35 21 36 checkInputs = [ 37 + pytest-asyncio 22 38 pytestCheckHook 23 - testtools 24 - requests-mock 39 + pytest-httpx 40 + pytest-timeout 25 41 ]; 26 42 43 + pythonImportsCheck = [ "denonavr" ]; 44 + 27 45 meta = with lib; { 46 + description = "Automation Library for Denon AVR receivers"; 28 47 homepage = "https://github.com/scarface-4711/denonavr"; 29 - description = "Automation Library for Denon AVR receivers."; 30 - license = licenses.mit; 48 + license = with licenses; [ mit ]; 31 49 maintainers = with maintainers; [ colemickens ]; 32 50 }; 33 51 }
+1
pkgs/servers/home-assistant/default.nix
··· 217 217 "deconz" 218 218 "default_config" 219 219 "demo" 220 + "denonavr" 220 221 "derivative" 221 222 "device_automation" 222 223 "device_sun_light_trigger"
+2
pkgs/top-level/python-packages.nix
··· 557 557 558 558 asyncssh = callPackage ../development/python-modules/asyncssh { }; 559 559 560 + asyncstdlib = callPackage ../development/python-modules/asyncstdlib { }; 561 + 560 562 async_stagger = callPackage ../development/python-modules/async_stagger { }; 561 563 562 564 asynctest = callPackage ../development/python-modules/asynctest { };