move python-steam
This commit is contained in:
@@ -9,21 +9,6 @@ let
|
|||||||
cfg = config.${namespace}.services.home-assistant;
|
cfg = config.${namespace}.services.home-assistant;
|
||||||
mosquittoPort = 1883;
|
mosquittoPort = 1883;
|
||||||
zigbee2mqttPort = 8080;
|
zigbee2mqttPort = 8080;
|
||||||
|
|
||||||
# In configuration.nix or a separate file
|
|
||||||
python-steam = pkgs.python3Packages.buildPythonPackage rec {
|
|
||||||
pname = "steam";
|
|
||||||
version = "1.4.4";
|
|
||||||
pyproject = false;
|
|
||||||
src = pkgs.fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with pkgs.python3Packages; [ setuptools ];
|
|
||||||
|
|
||||||
doCheck = false; # no tests in the PyPI tarball
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./options.nix ];
|
imports = [ ./options.nix ];
|
||||||
@@ -198,7 +183,7 @@ in
|
|||||||
gehomesdk
|
gehomesdk
|
||||||
onedrive-personal-sdk
|
onedrive-personal-sdk
|
||||||
python-roborock
|
python-roborock
|
||||||
python-steam
|
pkgs.${namespace}.python-steam
|
||||||
apple-weatherkit
|
apple-weatherkit
|
||||||
|
|
||||||
samsungctl
|
samsungctl
|
||||||
|
|||||||
16
packages/python-steam/default.nix
Normal file
16
packages/python-steam/default.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ python3Packages, fetchPypi, ... }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
pname = "steam";
|
||||||
|
version = "1.4.4";
|
||||||
|
pyproject = false;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with python3Packages; [ setuptools ];
|
||||||
|
|
||||||
|
doCheck = false; # no tests in the PyPI tarball
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user