aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-01-31 16:06:43 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-02-06 19:16:51 +0300
commitfbcad8843abf5f836b3638c02dc1a7eeca172c80 (patch)
tree121d16a3ea5b941ca30b7f1379c054f812ee5fa7 /gnu/packages
parent19d93ef537242ddf10228e38813bfad95788c878 (diff)
downloadpatches-fbcad8843abf5f836b3638c02dc1a7eeca172c80.tar
patches-fbcad8843abf5f836b3638c02dc1a7eeca172c80.tar.gz
gnu: Add python-pyaudio.
* gnu/packages/audio.scm (python-pyaudio): New public variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bd3d139efe..bb4d363e51 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1646,6 +1646,33 @@ essential distortions.")
implementation of the Open Sound Control (OSC) protocol.")
(license license:lgpl2.1+)))
+(define-public python-pyaudio
+ (package
+ (name "python-pyaudio")
+ (version "0.2.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://pypi.python.org/packages/ab/42/"
+ "b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b"
+ "/PyAudio-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0x7vdsigm7xgvyg3shd3lj113m8zqj2pxmrgdyj66kmnw0qdxgwk"))))
+ (build-system python-build-system)
+ (inputs
+ `(("portaudio" ,portaudio)))
+ (home-page "https://people.csail.mit.edu/hubert/pyaudio/")
+ (synopsis "Bindings for PortAudio v19")
+ (description "This package provides bindings for PortAudio v19, the
+cross-platform audio input/output stream library.")
+ (license license:expat)))
+
+(define-public python2-pyaudio
+ (package-with-python2 python-pyaudio))
+
(define-public python-pyliblo
(package
(name "python-pyliblo")