Files
nixpkgs/pkgs/development/python-modules/gehomesdk/default.nix
2026-06-04 11:59:28 +00:00

53 lines
997 B
Nix

{
lib,
aiohttp,
beautifulsoup4,
bidict,
buildPythonPackage,
cryptography,
fetchPypi,
humanize,
pytestCheckHook,
requests,
setuptools,
websockets,
}:
buildPythonPackage (finalAttrs: {
pname = "gehomesdk";
version = "2026.5.4";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-zKYe7vIXSFbtTqaCLEAHQvuDRGGXqorqfFqVVpBWuJs=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
beautifulsoup4
bidict
humanize
requests
websockets
];
nativeCheckInputs = [
pytestCheckHook
cryptography
];
pythonImportsCheck = [ "gehomesdk" ];
meta = {
description = "Python SDK for GE smart appliances";
homepage = "https://github.com/simbaja/gehome";
changelog = "https://github.com/simbaja/gehome/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "gehome-appliance-data";
};
})