diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-03-07 13:10:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 13:10:39 +0100 |
commit | 570437139413052fc906bc783cfda4af9ff459b2 (patch) | |
tree | 6206965fbd15a7031ad3ca223860a73e8cb401bb /pkgs/applications/video | |
parent | 649c3cada57c614adf8822519598fb4eadbbeda7 (diff) | |
parent | b6c7875bb5266415afb4f09304bbea0f70a7e1ee (diff) |
Merge pull request #293931 from NixOS/home-assistant
home-assistant: 2024.2.5 -> 2024.3.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/catt/default.nix | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/pkgs/applications/video/catt/default.nix b/pkgs/applications/video/catt/default.nix index 8b1c74ee66ccc..608236d688300 100644 --- a/pkgs/applications/video/catt/default.nix +++ b/pkgs/applications/video/catt/default.nix @@ -4,7 +4,25 @@ , python3 }: -python3.pkgs.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + pychromecast = super.pychromecast.overridePythonAttrs (_: rec { + version = "13.1.0"; + + src = fetchPypi { + pname = "PyChromecast"; + inherit version; + hash = "sha256-COYai1S9IRnTyasewBNtPYVjqpfgo7V4QViLm+YMJnY="; + }; + + postPatch = ""; + }); + }; + }; +in + +python.pkgs.buildPythonApplication rec { pname = "catt"; version = "0.12.11"; format = "pyproject"; @@ -22,11 +40,11 @@ python3.pkgs.buildPythonApplication rec { }) ]; - nativeBuildInputs = with python3.pkgs; [ + nativeBuildInputs = with python.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python.pkgs; [ click ifaddr pychromecast |