mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-13 16:53:53 +00:00
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>
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
bidict,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
humanize,
|
|
lxml,
|
|
pythonOlder,
|
|
requests,
|
|
setuptools,
|
|
slixmpp,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gehomesdk";
|
|
version = "2025.5.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-YMw0W9EWz3KY1+aZMdtE4TRvFd9yqTHkfw0X3+ZDCfQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
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 = {
|
|
description = "Python SDK for GE smart appliances";
|
|
homepage = "https://github.com/simbaja/gehome";
|
|
changelog = "https://github.com/simbaja/gehome/blob/master/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "gehome-appliance-data";
|
|
};
|
|
}
|