Files
nix-config/packages/python/gehomesdk/default.nix
mjallen18 9b1c9a6371 stuff
2026-03-03 15:21:30 -06:00

46 lines
1022 B
Nix

{
lib,
python3Packages,
}:
python3Packages.buildPythonPackage rec {
pname = "gehomesdk";
version = "2026.2.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.9";
src = python3Packages.fetchPypi {
inherit pname version;
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
};
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";
};
}