diff --git a/pkgs/development/python-modules/wyoming/default.nix b/pkgs/development/python-modules/wyoming/default.nix new file mode 100644 index 000000000000..984e3a285d52 --- /dev/null +++ b/pkgs/development/python-modules/wyoming/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "wyoming"; + version = "0.0.1"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-EIUbKL8DNFNNGmLRcu12mlw4H+gAHmCUw09eLG0s8+M="; + }; + + pythonImportsCheck = [ + "wyoming" + ]; + + # no tests + doCheck = false; + + meta = with lib; { + description = "Protocol for Rhasspy Voice Assistant"; + homepage = "https://pypi.org/project/wyoming/"; + license = licenses.mit; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 77811aa523df..1583198cae3f 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -4492,7 +4492,8 @@ "wsdot" = ps: with ps; [ ]; "wyoming" = ps: with ps; [ - ]; # missing inputs: wyoming + wyoming + ]; "x10" = ps: with ps; [ ]; "xbox" = ps: with ps; [ @@ -5417,6 +5418,7 @@ "worldclock" "ws66i" "wsdot" + "wyoming" "xbox" "xiaomi" "xiaomi_aqara" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 10eebb2cca1c..3a1693f83d0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13140,6 +13140,8 @@ self: super: with self; { }; }; + wyoming = callPackage ../development/python-modules/wyoming { }; + x-wr-timezone = callPackage ../development/python-modules/x-wr-timezone { }; x11_hash = callPackage ../development/python-modules/x11_hash { };