summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:25 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:45 +0300
commitf06f57d85ca50160ed10ab71b8629de4c1314964 (patch)
tree630a48b092ba389555ac14ae12349addc8f20cf0 /gnu/packages/crates-io.scm
parenteffda36c0ff63e260e529d4af047e0008f0c65e5 (diff)
downloadguix-f06f57d85ca50160ed10ab71b8629de4c1314964.tar.gz
gnu: Add rust-libpulse-simple-sys-1.
* gnu/packages/crates-io.scm (rust-libpulse-simple-sys-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I9f959674176fd54b7f195bce345f2631f7d189da
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6929928b5c..f28242d708 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37602,6 +37602,28 @@ file.
 library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libpulse-simple-sys-1
+  (package
+    (name "rust-libpulse-simple-sys")
+    (version "1.21.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libpulse-simple-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config))
+    (inputs (list pulseaudio))
+    (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+    (synopsis "FFI indings for PulseAudio's libpulse-simple system library")
+    (description
+     "FFI bindings for the PulseAudio libpulse-simple system library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-libpulse-sys-1
   (package
     (name "rust-libpulse-sys")