--- Begin Message ---
Subject: |
[PATCH] gnu: Add python-simpleaudio. |
Date: |
Wed, 28 Oct 2020 10:08:10 +0100 |
* gnu/packages/python-xyz.scm (python-simpleaudio): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6c5ccac647..a60e869db8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1843,6 +1843,30 @@ after Andy Lester’s Perl module WWW::Mechanize.")
(define-public python2-mechanize
(package-with-python2 python-mechanize))
+(define-public python-simpleaudio
+ (package
+ (name "python-simpleaudio")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "simpleaudio" version))
+ (sha256
+ (base32
+ "07glihg0fpca0gvbbvqs9q815w8xhflzdvg72yvlsm23j9j8h739"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f))
+ (native-inputs
+ `(("alsa-lib" ,alsa-lib)))
+ (home-page
+ "https://github.com/hamiltron/py-simple-audio")
+ (synopsis "Simple, asynchronous audio playback for Python 3")
+ (description
+ "The @code{simplaudio} package provides cross-platform, dependency-free
+audio playback capability for Python 3 on OSX, Windows, and Linux.")
+ (license license:expat))) ; MIT license
+
(define-public python-simplejson
(package
(name "python-simplejson")
--
2.29.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#44276] [PATCH] gnu: Add python-simpleaudio. |
Date: |
Thu, 29 Oct 2020 10:14:10 -0400 |
On Thu, Oct 29, 2020 at 09:30:51AM +0100, Tanguy Le Carrour wrote:
> Way out of my comfort zone! ^_^'
> Even if I think I get your point! `alsa-lib` is indeed used at run time.
> So… do as you think is best! :-)
Alright :) I made it a regular input with commit
bda1359b8e2ff36e10bce92475ce615211925342
--- End Message ---