steam maybe
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user