Files
nix-config/packages/python/gehomesdk/default.nix
mjallen18 add39956f7 hass
2026-03-27 18:32:24 -05:00

44 lines
1016 B
Nix

{
lib,
home-assistant,
}:
home-assistant.python.pkgs.buildPythonPackage rec {
pname = "gehomesdk";
version = "2026.2.0";
pyproject = true;
src = home-assistant.python.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
};
build-system = with home-assistant.python.pkgs; [ setuptools ];
dependencies = with home-assistant.python.pkgs; [
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";
};
}