Merge pull request #147710 from fabaff/pymelcloud

python3Packages.pymelcloud: init at 2.5.5
This commit is contained in:
Fabian Affolter 2022-01-01 17:24:56 +01:00 committed by GitHub
commit b32eaac86b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,45 @@
{ lib
, aiohttp
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymelcloud";
version = "2.5.6";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "vilppuvuorinen";
repo = pname;
rev = "v${version}";
sha256 = "sha256-QXOL3MftNibo1wUjz/KTQLNDk7pWL9VH/wd7LpEJOmE=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
asynctest
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"pymelcloud"
];
meta = with lib; {
description = "Python module for interacting with MELCloud";
homepage = "https://github.com/vilppuvuorinen/pymelcloud";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -503,7 +503,7 @@
"media_player" = ps: with ps; [ aiohttp-cors ];
"media_source" = ps: with ps; [ aiohttp-cors ];
"mediaroom" = ps: with ps; [ pymediaroom ];
"melcloud" = ps: with ps; [ ]; # missing inputs: pymelcloud
"melcloud" = ps: with ps; [ pymelcloud ];
"melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate
"meraki" = ps: with ps; [ aiohttp-cors ];
"message_bird" = ps: with ps; [ ]; # missing inputs: messagebird

View file

@ -626,6 +626,7 @@ in with py.pkgs; buildPythonApplication rec {
"mazda"
"media_player"
"media_source"
"melcloud"
"meraki"
"met"
"met_eireann"

View file

@ -6962,6 +6962,8 @@ in {
pymeeus = callPackage ../development/python-modules/pymeeus { };
pymelcloud = callPackage ../development/python-modules/pymelcloud { };
pymemcache = callPackage ../development/python-modules/pymemcache { };
pymemoize = callPackage ../development/python-modules/pymemoize { };