diff --git a/hosts/homeassistant/homeassistant.nix b/hosts/homeassistant/homeassistant.nix index 96fe995..5eab6cf 100644 --- a/hosts/homeassistant/homeassistant.nix +++ b/hosts/homeassistant/homeassistant.nix @@ -97,21 +97,18 @@ let }; # In configuration.nix or a separate file - pythonPackages.steam = pythonPackages.buildPythonPackage rec { - pname = "steam"; - version = "1.4.4"; # Use the appropriate version - - src = pythonPackages.fetchPypi { - inherit pname version; - sha256 = lib.fakeHash; # Add the correct SHA hash - }; - - # Dependencies if needed - propagatedBuildInputs = with pythonPackages; [ - # Add dependencies - ]; - }; -in + pythonSteam = pkgs.python3.withPackages (ps: with ps; [ + (ps.buildPythonPackage rec { + pname = "steam"; + version = "1.4.4"; # Check for the latest version + src = pkgs.fetchPypi { + inherit pname version; + sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Get the correct hash + }; + doCheck = false; + propagatedBuildInputs = [ ps.requests ps.protobuf ]; + }) + ]); { services.home-assistant = { enable = true;