about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-11-01 12:29:42 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-11-01 12:41:56 +0100
commit7fa90b3e6f6ff7e46f68318d5f77c15ad28bd315 (patch)
tree11bff6d941b15223523abd37d3bd3e0cd32fe044 /pkgs
parent2dac86f1405bc7f1b5bdf7dd7126d394132bb654 (diff)
home-assistant: pin influxdb-client at 1.21.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/servers/home-assistant/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index 136bf49a64015..c5ad53b3739a7 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -52,6 +52,19 @@ let
       });
     })
 
+    # Pinned due to API changes in influxdb-client>1.21.0
+    (self: super: {
+      influxdb-client = super.influxdb-client.overridePythonAttrs (oldAttrs: rec {
+        version = "1.21.0";
+        src = fetchFromGitHub {
+          owner = "influxdata";
+          repo = "influxdb-client-python";
+          rev = "v${version}";
+          sha256 = "081pwd3aa7kbgxqcl1hfi2ny4iapnxkcp9ypsfslr69d0khvfc4s";
+        };
+      });
+    })
+
     # Pinned due to API changes in pyruckus>0.12
     (self: super: {
       pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {