guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

45/66: gnu: Add rust-libpulse-simple-binding-2.


From: guix-commits
Subject: 45/66: gnu: Add rust-libpulse-simple-binding-2.
Date: Tue, 24 Oct 2023 07:55:00 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 807bd1ac449373c1da6feedc392ea7ca495b44f4
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:27 2023 +0100

    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
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]