about summary refs log tree commit diff
path: root/pkgs/servers/home-assistant
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-14 01:17:59 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-14 01:17:59 +0100
commit8c30650658e26faba9dee6e46caf5e387ba22286 (patch)
treee504c628e7fd718d04202614b0b24fa9c295edab /pkgs/servers/home-assistant
parent36797a3c65dbe83c5c52cb34f4fdb5bff6409a0e (diff)
home-assistant: add new overrides
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r--pkgs/servers/home-assistant/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index f175802acf42a..1556ffbd9cc78 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -232,6 +232,33 @@ let
       });
     })
 
+    # Remove as soon the dependency is updated and pytest-httpx > 0.15
+    (self: super: {
+      luftdaten = super.luftdaten.overridePythonAttrs (oldAttrs: rec {
+        version = "0.7.1";
+        src = fetchFromGitHub {
+          owner = "home-assistant-ecosystem";
+          repo = "python-luftdaten";
+          rev = version;
+          sha256 = "sha256-76Y5TJet0WtzYXuK8Og0rmpsUIlXK7b37oesh+MliU8=";
+        };
+      });
+    })
+
+    # Remove as soon the dependency is updated and pytest-httpx > 0.15
+    (self: super: {
+      pyrmvtransport = super.pyrmvtransport.overridePythonAttrs (oldAttrs: rec {
+        version = "0.3.3";
+        src = fetchFromGitHub {
+          owner = "cgtobi";
+          repo = "pyrmvtransport";
+          rev = "v${version}";
+          sha256 = "sha256-nFxGEyO+wyRzPayjjv8WNIJ+XIWbVn0dyyjQKHiyr40=";
+        };
+        doCheck = false;
+      });
+    })
+
     # home-assistant-frontend does not exist in python3.pkgs
     (self: super: {
       home-assistant-frontend = self.callPackage ./frontend.nix { };
@@ -986,6 +1013,9 @@ in with py.pkgs; buildPythonApplication rec {
     # august/test_lock.py: AssertionError: assert 'unlocked' == 'locked' / assert 'off' == 'on'
     "test_lock_update_via_pubnub"
     "test_door_sense_update_via_pubnub"
+    # Tests are flaky
+    "test_config_platform_valid"
+    "test_hls_stream"
   ];
 
   preCheck = ''