From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 65368@debbugs.gnu.org
Cc: Sughosha <sughosha@disroot.org>,
Lars-Dominik Braun <lars@6xq.net>, jgart <jgart@dismail.de>
Subject: [bug#65368] [PATCH 1/5] gnu: Add python-wavefile.
Date: Fri, 18 Aug 2023 17:35:38 +0200 [thread overview]
Message-ID: <3364f152e8f31e4ec06d8e9bb0c126a1f59e1d70.1692372644.git.sughosha@disroot.org> (raw)
In-Reply-To: <cover.1692372644.git.sughosha@disroot.org>
* gnu/packages/python-xyz.scm (python-wavefile): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c5e170b628..7f8c976753 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -163,6 +163,7 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages algebra)
#:use-module (gnu packages astronomy)
#:use-module (gnu packages attr)
+ #:use-module (gnu packages audio)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
@@ -230,6 +231,7 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
+ #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
@@ -1711,6 +1713,37 @@ (define-public python-pymediainfo
access the technical and tag data for video and audio files.")
(license license:expat)))
+(define-public python-wavefile
+ (package
+ (name "python-wavefile")
+ (version "1.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "wavefile" version))
+ (sha256
+ (base32
+ "02qcms8xx24r1d14idwyx04sw9ydp6rivff5s64hgp668mnfdar3"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-libsndfile-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "wavefile/libsndfile.py"
+ (("libsndfile\\.so")
+ (search-input-file inputs "/lib/libsndfile.so")))))
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "LD_LIBRARY_PATH" (getenv "LIBRARY_PATH")))))))
+ (inputs
+ (list libsndfile))
+ (propagated-inputs (list python-numpy python-pyaudio))
+ (home-page "https://github.com/vokimon/python-wavefile")
+ (synopsis "Pythonic wave file reader and writer")
+ (description "This package provides pythonic wave file reader and writer.")
+ (license license:gpl3+)))
+
(define-public python-psutil
(package
(name "python-psutil")
--
2.41.0
next prev parent reply other threads:[~2023-08-18 15:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 15:35 [bug#65367] [PATCH 0/5] gnu: Add stargate Sughosha via Guix-patches via
2023-08-18 15:35 ` Sughosha via Guix-patches via [this message]
2023-10-08 23:50 ` [bug#65368] Sharlatan Hellseher
2023-08-18 15:35 ` [bug#65369] [PATCH 2/5] gnu: Add python-pymarshal Sughosha via Guix-patches via
2023-08-18 15:35 ` [bug#65367] [PATCH 3/5] gnu: Add python-packaging Sughosha via Guix-patches via
2023-08-18 15:35 ` [bug#65367] [PATCH 4/5] gnu: Add python-mido Sughosha via Guix-patches via
2023-08-18 15:35 ` [bug#65367] [PATCH 5/5] gnu: Add stargate Sughosha via Guix-patches via
2023-10-31 13:44 ` [bug#65367] [PATCH v2 0/4] " Sughosha via Guix-patches via
2023-10-31 13:44 ` [bug#65367] [PATCH v2 1/4] gnu: Add python-wavefile Sughosha via Guix-patches via
2023-10-31 13:44 ` [bug#65367] [PATCH v2 2/4] gnu: Add python-pymarshal Sughosha via Guix-patches via
2023-10-31 13:44 ` [bug#65367] [PATCH v2 3/4] gnu: Add python-mido Sughosha via Guix-patches via
2023-10-31 13:44 ` [bug#65367] [PATCH v2 4/4] gnu: Add stargate Sughosha via Guix-patches via
2023-10-31 17:08 ` [bug#65367] [PATCH v3 0/4] " Sughosha via Guix-patches via
2023-10-31 17:08 ` [bug#65367] [PATCH v3 1/4] gnu: Add python-wavefile Sughosha via Guix-patches via
2023-10-31 17:08 ` [bug#65367] [PATCH v3 2/4] gnu: Add python-pymarshal Sughosha via Guix-patches via
2023-10-31 17:08 ` [bug#65367] [PATCH v3 3/4] gnu: Add python-mido Sughosha via Guix-patches via
2023-10-31 17:08 ` [bug#65367] [PATCH v3 4/4] gnu: Add stargate Sughosha via Guix-patches via
2024-06-05 15:52 ` [bug#65367] [PATCH v4 0/4] " Sughosha via Guix-patches via
2024-06-05 15:52 ` [bug#65367] [PATCH v4 1/4] gnu: Add python-pymarshal Sughosha via Guix-patches via
2024-06-05 15:52 ` [bug#65367] [PATCH v4 2/4] gnu: Add python-mido Sughosha via Guix-patches via
2024-06-05 15:52 ` [bug#65367] [PATCH v4 3/4] gnu: Add python-wavefile Sughosha via Guix-patches via
2024-06-05 15:52 ` [bug#65367] [PATCH v4 4/4] gnu: Add stargate Sughosha 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=3364f152e8f31e4ec06d8e9bb0c126a1f59e1d70.1692372644.git.sughosha@disroot.org \
--to=guix-patches@gnu.org \
--cc=65368@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=sughosha@disroot.org \
/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).