summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:27 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:45 +0300
commit807bd1ac449373c1da6feedc392ea7ca495b44f4 (patch)
treea14d7b17ebf2de0863fdd2cb8075a48211408409
parent97b99a28c8ef23a3bee942c968b313201f01f925 (diff)
downloadguix-807bd1ac449373c1da6feedc392ea7ca495b44f4.tar.gz
gnu: Add rust-libpulse-simple-binding-2.
* gnu/packages/crates-io.scm (rust-libpulse-simple-binding-2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I2d4b758ff3d30e7b43b1fb7292b90a76d3e20759
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf56854067..62c3845088 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37598,6 +37598,34 @@ file.
 library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libpulse-simple-binding-2
+  (package
+    (name "rust-libpulse-simple-binding")
+    (version "2.28.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libpulse-simple-binding" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                 "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2)
+                       ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1)
+                       ("rust-libpulse-sys" ,rust-libpulse-sys-1))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
+    (native-inputs (list pkg-config))
+    (inputs (list pulseaudio))
+    (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+    (synopsis "Rust language bindings for PulseAudio's libpulse-simple library")
+    (description
+     "A Rust language binding for the PulseAudio libpulse-simple library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-libpulse-simple-sys-1
   (package
     (name "rust-libpulse-simple-sys")