about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-ecobee-api
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-06-18 00:21:29 +0200
committerRobert Schütz <dev@schuetz-co.de>2021-06-18 00:21:29 +0200
commit27ad55351852d486a8b02fa1b534007c87c80cae (patch)
treed273371dba59796e8cf76b2e6cda704e78bb5e22 /pkgs/development/python-modules/python-ecobee-api
parent43884eb1f37d053a27847a1f5433d0976200dc33 (diff)
python3Packages.python-ecobee-api: init at 0.2.13
Diffstat (limited to 'pkgs/development/python-modules/python-ecobee-api')
-rw-r--r--pkgs/development/python-modules/python-ecobee-api/default.nix31
1 files changed, 31 insertions, 0 deletions
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 0000000000000..dc35c0c022fbf
--- /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 ];
+  };
+}