update ha components
This commit is contained in:
45
packages/python/gehomesdk/default.nix
Normal file
45
packages/python/gehomesdk/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "gehomesdk";
|
||||
version = "2025.11.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.9";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HS33yTE+3n0DKRD4+cr8zAE+xcW1ca7q8inQ7qwKJMA=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages;[
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
bidict
|
||||
humanize
|
||||
lxml
|
||||
requests
|
||||
slixmpp
|
||||
websockets
|
||||
];
|
||||
|
||||
# Tests are not shipped and source is not tagged
|
||||
# https://github.com/simbaja/gehome/issues/32
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "gehomesdk" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for GE smart appliances";
|
||||
homepage = "https://github.com/simbaja/gehome";
|
||||
changelog = "https://github.com/simbaja/gehome/blob/master/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "gehome-appliance-data";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user