From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 49469@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#49469] [PATCH] gnu: Add python-pysox.
Date: Thu, 8 Jul 2021 15:35:55 -0400 [thread overview]
Message-ID: <20210708193555.4907-1-jgart@dismail.de> (raw)
In-Reply-To: <0e7aba9bd4b403707a06597219700743@dismail.de>
* gnu/packages/audio.scm (python-pysox): New variable.
---
gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3939d4bc7e..5222fb0343 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2385,6 +2385,36 @@ compensation, (de)interleaving, and byte-swapping
;; original developer.
(license license:expat)))
+(define-public python-pysox
+ (package
+ (name "python-pysox")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sox" version))
+ (sha256
+ (base32
+ "0m8hszh51lfzacbb4nxc5bn446c0dzljfqgnsff8h2s5j8vd3wmh"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests require python-soundfile.
+ ;; TODO: enable tests once http://issues.guix.gnu.org/47181 is completed.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://github.com/rabitt/pysox")
+ (synopsis "Python wrapper around sox")
+ (description "@code{pysox} is a wrapper around the @command{sox} command line tool.
+ pysox's API offers @code{Transformer} and @code{Combiner} classes that allow the user to
+incrementally build up effects and audio manipulations. @code{pysox} also
+provides methods for querying audio information such as sample rate,
+determining whether an audio file is silent and much more.")
+ (license license:bsd-3)))
+
(define-public python-pyaudio
(package
(name "python-pyaudio")
--
2.31.1
next prev parent reply other threads:[~2021-07-08 20:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-08 18:45 [bug#49469] [PATCH] gnu: Add python-pysox jgart via Guix-patches via
2021-07-08 19:35 ` jgart via Guix-patches via [this message]
2021-10-09 15:20 ` Arun Isaac
2021-10-10 6:15 ` [bug#49469] jgart via Guix-patches via
2021-10-10 6:15 ` [bug#49469] [PATCH] gnu: Add python-pysox jgart via Guix-patches via
2021-10-16 10:02 ` Arun Isaac
2021-10-16 10:05 ` Arun Isaac
2021-11-24 16:25 ` Arun Isaac
2021-11-25 4:33 ` jgart via Guix-patches via
2021-11-25 4:46 ` jgart via Guix-patches via
2021-11-29 16:12 ` bug#49469: " Arun Isaac
2021-11-25 4:42 ` [bug#49469] [PATCH v3] " jgart via Guix-patches via
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=20210708193555.4907-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=49469@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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).