diff --git a/pkgs/development/python-modules/python-fullykiosk/default.nix b/pkgs/development/python-modules/python-fullykiosk/default.nix new file mode 100644 index 000000000000..2cb8f1f8144a --- /dev/null +++ b/pkgs/development/python-modules/python-fullykiosk/default.nix @@ -0,0 +1,39 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "python-fullykiosk"; + version = "0.0.11"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "cgarwood"; + repo = pname; + rev = "refs/tags/${version}"; + sha256 = "sha256-Fndf9OOy3JLVTzHwfRzYrF/Khuhf9BMT6I+ze375p70="; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "fullykiosk" + ]; + + meta = with lib; { + description = "Wrapper for Fully Kiosk Browser REST interface"; + homepage = "https://github.com/cgarwood/python-fullykiosk"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 0fbf7caea35c..577e87f522a0 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -1028,7 +1028,8 @@ afsapi ]; "fully_kiosk" = ps: with ps; [ - ]; # missing inputs: python-fullykiosk + python-fullykiosk + ]; "futurenow" = ps: with ps; [ pyfnip ]; @@ -3801,6 +3802,7 @@ "fritzbox_callmonitor" "fronius" "frontend" + "fully_kiosk" "garages_amsterdam" "gdacs" "generic" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8f1cf32e6889..bcb31505fc7f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7136,6 +7136,8 @@ in { python-flirt = callPackage ../development/python-modules/python-flirt { }; + python-fullykiosk = callPackage ../development/python-modules/python-fullykiosk { }; + python-glanceclient = callPackage ../development/python-modules/python-glanceclient { }; python-google-nest = callPackage ../development/python-modules/python-google-nest { };