From 27ad55351852d486a8b02fa1b534007c87c80cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 18 Jun 2021 00:21:29 +0200 Subject: [PATCH] python3Packages.python-ecobee-api: init at 0.2.13 --- .../python-ecobee-api/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/python-ecobee-api/default.nix diff --git a/pkgs/development/python-modules/python-ecobee-api/default.nix b/pkgs/development/python-modules/python-ecobee-api/default.nix new file mode 100644 index 000000000000..dc35c0c022fb --- /dev/null +++ b/pkgs/development/python-modules/python-ecobee-api/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +}: + +buildPythonPackage rec { + pname = "python-ecobee-api"; + version = "0.2.13"; + + src = fetchPypi { + inherit pname version; + sha256 = "7c39f5aac854a2fb8fb33f41b351769a92ff784bc6112e7a5c1b9e1949a0fefe"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "pyecobee" ]; + + meta = with lib; { + description = "Python API for talking to Ecobee thermostats"; + homepage = "https://github.com/nkgilley/python-ecobee-api"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1b42003c32dc..2939b8fba8ed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5266,6 +5266,8 @@ in { python-csxcad = callPackage ../development/python-modules/python-csxcad { }; + python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { }; + python-openems = callPackage ../development/python-modules/python-openems { }; python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };