From 5f6be2960ff9a0c455635bf93f3cd3e8002d188f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 7 Jun 2023 02:25:24 +0200 Subject: [PATCH] python310Packages.wyoming: init at 0.0.1 Bits and pieces originating at the rhasspy3 project. --- .../python-modules/wyoming/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/wyoming/default.nix 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/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 { };