Merge pull request #147710 from fabaff/pymelcloud

python3Packages.pymelcloud: init at 2.5.5

authored by Fabian Affolter and committed by GitHub b32eaac8 d10c5111

+49 -1
+45
pkgs/development/python-modules/pymelcloud/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , asynctest 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , pytest-asyncio 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pymelcloud"; 13 + version = "2.5.6"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.8"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "vilppuvuorinen"; 20 + repo = pname; 21 + rev = "v${version}"; 22 + sha256 = "sha256-QXOL3MftNibo1wUjz/KTQLNDk7pWL9VH/wd7LpEJOmE="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + aiohttp 27 + ]; 28 + 29 + checkInputs = [ 30 + asynctest 31 + pytest-asyncio 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "pymelcloud" 37 + ]; 38 + 39 + meta = with lib; { 40 + description = "Python module for interacting with MELCloud"; 41 + homepage = "https://github.com/vilppuvuorinen/pymelcloud"; 42 + license = with licenses; [ mit ]; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 503 503 "media_player" = ps: with ps; [ aiohttp-cors ]; 504 504 "media_source" = ps: with ps; [ aiohttp-cors ]; 505 505 "mediaroom" = ps: with ps; [ pymediaroom ]; 506 - "melcloud" = ps: with ps; [ ]; # missing inputs: pymelcloud 506 + "melcloud" = ps: with ps; [ pymelcloud ]; 507 507 "melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate 508 508 "meraki" = ps: with ps; [ aiohttp-cors ]; 509 509 "message_bird" = ps: with ps; [ ]; # missing inputs: messagebird
+1
pkgs/servers/home-assistant/default.nix
··· 626 626 "mazda" 627 627 "media_player" 628 628 "media_source" 629 + "melcloud" 629 630 "meraki" 630 631 "met" 631 632 "met_eireann"
+2
pkgs/top-level/python-packages.nix
··· 6962 6962 6963 6963 pymeeus = callPackage ../development/python-modules/pymeeus { }; 6964 6964 6965 + pymelcloud = callPackage ../development/python-modules/pymelcloud { }; 6966 + 6965 6967 pymemcache = callPackage ../development/python-modules/pymemcache { }; 6966 6968 6967 6969 pymemoize = callPackage ../development/python-modules/pymemoize { };