Merge pull request #173824 from dotlambda/steamodd-init

home-assistant: support steam_online component
main
Fabian Affolter 2 years ago committed by GitHub
commit 38c6f3cefa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 37
      pkgs/development/python-modules/steamodd/default.nix
  2. 4
      pkgs/servers/home-assistant/component-packages.nix
  3. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "steamodd";
version = "4.23";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b95b288a8249937b9183539eef76563a6b1df286a1db04f25141e46d8814eae9";
};
# tests require API key
doCheck = false;
pythonImportsCheck = [
"steam.api"
"steam.apps"
"steam.items"
"steam.loc"
"steam.remote_storage"
"steam.sim"
"steam.user"
"steam.vdf"
];
meta = {
description = "High level Steam API implementation with low level reusable core";
homepage = "https://github.com/Lagg/steamodd";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

@ -2540,7 +2540,8 @@
statsd
];
"steam_online" = ps: with ps; [
]; # missing inputs: steamodd
steamodd
];
"steamist" = ps: with ps; [
aiohttp-cors
aiosteamist
@ -3661,6 +3662,7 @@
"startca"
"statistics"
"statsd"
"steam_online"
"steamist"
"stookalert"
"stream"

@ -9947,6 +9947,8 @@ in {
stdlib-list = callPackage ../development/python-modules/stdlib-list { };
steamodd = callPackage ../development/python-modules/steamodd { };
stem = callPackage ../development/python-modules/stem { };
stestr = callPackage ../development/python-modules/stestr { };

Loading…
Cancel
Save