Merge pull request #127921 from dotlambda/somecomfort-init

This commit is contained in:
Martin Weinelt 2021-06-23 17:29:56 +02:00 committed by GitHub
commit 9145f0382d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, prettytable
, requests
}:
buildPythonPackage rec {
pname = "somecomfort";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "681f44449e8c0a923305aa05aa5262f4d2304a6ecea496caa8d5a51b724a0fef";
};
propagatedBuildInputs = [
requests
prettytable
];
# tests require network access
doCheck = false;
pythonImportsCheck = [ "somecomfort" ];
meta = with lib; {
description = "Client for Honeywell's US-based cloud devices";
homepage = "https://github.com/kk7ds/somecomfort";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -362,7 +362,7 @@
"homematic" = ps: with ps; [ pyhomematic ];
"homematicip_cloud" = ps: with ps; [ homematicip ];
"homeworks" = ps: with ps; [ ]; # missing inputs: pyhomeworks
"honeywell" = ps: with ps; [ ]; # missing inputs: somecomfort
"honeywell" = ps: with ps; [ somecomfort ];
"horizon" = ps: with ps; [ ]; # missing inputs: horimote
"hp_ilo" = ps: with ps; [ python-hpilo ];
"html5" = ps: with ps; [ aiohttp-cors pywebpush ];

View file

@ -454,6 +454,7 @@ in with py.pkgs; buildPythonApplication rec {
"homekit_controller"
"homematic"
"homematicip_cloud"
"honeywell"
"html5"
"http"
"hue"

View file

@ -8006,6 +8006,8 @@ in {
somajo = callPackage ../development/python-modules/somajo { };
somecomfort = callPackage ../development/python-modules/somecomfort { };
sopel = callPackage ../development/python-modules/sopel { };
sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { };