Files
nixpkgs/pkgs/development/python-modules/gehomesdk/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

53 lines
965 B
Nix

{
lib,
aiohttp,
beautifulsoup4,
bidict,
buildPythonPackage,
cryptography,
fetchPypi,
humanize,
pytestCheckHook,
requests,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "gehomesdk";
version = "2025.11.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-HS33yTE+3n0DKRD4+cr8zAE+xcW1ca7q8inQ7qwKJMA=";
};
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/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "gehome-appliance-data";
};
}