diff --git a/pkgs/development/python-modules/gekitchen/default.nix b/pkgs/development/python-modules/gekitchen/default.nix new file mode 100644 index 000000000000..8dc5bbdb3ae6 --- /dev/null +++ b/pkgs/development/python-modules/gekitchen/default.nix @@ -0,0 +1,53 @@ +{ lib +, aiohttp +, bidict +, buildPythonPackage +, fetchFromGitHub +, humanize +, lxml +, pytestCheckHook +, pythonOlder +, requests +, slixmpp +, websockets +}: + +buildPythonPackage rec { + pname = "gekitchen"; + version = "0.2.19"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "ajmarks"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-eKGundh7j9LqFd71bx86rNBVu2iAcgLN25JfFa39+VA="; + }; + + propagatedBuildInputs = [ + aiohttp + bidict + humanize + lxml + requests + slixmpp + websockets + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "gekitchen" + ]; + + meta = with lib; { + description = "Python SDK for GE smart appliances"; + homepage = "https://github.com/ajmarks/gekitchen"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 840b59257560..1f57e2c91e35 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3076,6 +3076,8 @@ in { gehomesdk = callPackage ../development/python-modules/gehomesdk { }; + gekitchen = callPackage ../development/python-modules/gekitchen { }; + gemfileparser = callPackage ../development/python-modules/gemfileparser { }; genanki = callPackage ../development/python-modules/genanki { };