mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge pull request #173824 from dotlambda/steamodd-init
home-assistant: support steam_online component
This commit is contained in:
commit
38c6f3cefa
37
pkgs/development/python-modules/steamodd/default.nix
Normal file
37
pkgs/development/python-modules/steamodd/default.nix
Normal file
@ -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…
Reference in New Issue
Block a user