From: Dominik Delgado Steuter via Guix-patches via <guix-patches@gnu.org>
To: 62973@debbugs.gnu.org
Cc: Dominik Delgado Steuter <d@delgado.nrw>
Subject: [bug#62973] [PATCH] gnu: Add python-gtts.
Date: Thu, 20 Apr 2023 20:01:38 +0200 [thread overview]
Message-ID: <20230420180138.16291-1-d@delgado.nrw> (raw)
* gnu/packages/python-xyz.scm (python-gtts): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6ea91a2..921eebc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -135,6 +135,7 @@
;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
;;; Copyright © 2023 Amade Nemes <nemesamade@gmail.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
+;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20840,6 +20841,27 @@ (define-public python-translate-toolkit
several utilities, as well as an API for building localization tools.")
(license license:gpl2+)))
+(define-public python-gtts
+ (package
+ (name "python-gtts")
+ (version "2.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "gTTS" version))
+ (sha256
+ (base32
+ "1jsg1prpzr7gj5sn385mkv2v1i8xfc83ycm87hvsi2j0y366plps"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:tests? #f)) ;tests require networking
+ (native-inputs (list python-click python-requests))
+ (home-page "https://github.com/pndurette/gTTS")
+ (synopsis "Google Translate text-to-speech interface")
+ (description
+ "Google Text-to-Speech (gTTS), a Python library and CLI tool to interface with
+the Google Translate text-to-speech API. Write spoken mp3 data to a file, a
+file-like object (bytestring) for further audio manipulation, or stdout.")
+ (license license:expat)))
(define-public python-packaging
(package/inherit python-packaging-bootstrap
base-commit: 61d15695752997427ed9c3491470dd76b11bd00a
--
2.39.2
next reply other threads:[~2023-04-20 18:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 18:01 Dominik Delgado Steuter via Guix-patches via [this message]
2023-04-20 22:46 ` [bug#62973] [PATCH] gnu: Add python-gtts jgart via Guix-patches via
2023-04-24 23:24 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230420180138.16291-1-d@delgado.nrw \
--to=guix-patches@gnu.org \
--cc=62973@debbugs.gnu.org \
--cc=d@delgado.nrw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).