forked from mirrors/nixpkgs
Merge pull request #147710 from fabaff/pymelcloud
python3Packages.pymelcloud: init at 2.5.5
This commit is contained in:
commit
b32eaac86b
45
pkgs/development/python-modules/pymelcloud/default.nix
Normal file
45
pkgs/development/python-modules/pymelcloud/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -626,6 +626,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"mazda"
|
||||
"media_player"
|
||||
"media_source"
|
||||
"melcloud"
|
||||
"meraki"
|
||||
"met"
|
||||
"met_eireann"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue