python3Packages.pymelcloud: init at 2.5.5

This commit is contained in:
Fabian Affolter 2021-11-28 14:13:24 +01:00
parent cc94513576
commit e534535ef3
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymelcloud";
version = "2.5.5";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "vilppuvuorinen";
repo = pname;
rev = "v${version}";
sha256 = "2bq/kCSCKUnm8QvEEbnWU85/xwgyLN0eG0v788EKzKk=";
};
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

@ -6960,6 +6960,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 { };