nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 beautifulsoup4,
5 bidict,
6 buildPythonPackage,
7 cryptography,
8 fetchPypi,
9 humanize,
10 pytestCheckHook,
11 requests,
12 setuptools,
13 websockets,
14}:
15
16buildPythonPackage rec {
17 pname = "gehomesdk";
18 version = "2025.11.5";
19 pyproject = true;
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-HS33yTE+3n0DKRD4+cr8zAE+xcW1ca7q8inQ7qwKJMA=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 aiohttp
30 beautifulsoup4
31 bidict
32 humanize
33 requests
34 websockets
35 ];
36
37 nativeCheckInputs = [
38 pytestCheckHook
39 cryptography
40 ];
41
42 pythonImportsCheck = [ "gehomesdk" ];
43
44 meta = {
45 description = "Python SDK for GE smart appliances";
46 homepage = "https://github.com/simbaja/gehome";
47 changelog = "https://github.com/simbaja/gehome/releases/tag/v${version}";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ fab ];
50 mainProgram = "gehome-appliance-data";
51 };
52}