diff options
author | phodina <phodina@protonmail.com> | 2021-10-13 22:10:36 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-11-04 20:09:53 +0200 |
commit | 468bb6710f3549076137217d680442ecc2cef0e5 (patch) | |
tree | 1edeb681402c88db9617674ea79a14ab6b24294d /gnu | |
parent | 0e6a21c0875283f430cf48f6a5073a9ace47c6e5 (diff) | |
download | guix-468bb6710f3549076137217d680442ecc2cef0e5.tar.gz |
gnu: Add rust-libpulse-sys-1.
* gnu/packages/crates-io.scm (rust-libpulse-sys-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d28f12ab84..81b8b596d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64,6 +64,7 @@ #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) @@ -26150,6 +26151,39 @@ file. @end itemize") (license license:gpl2+))) + +(define-public rust-libpulse-sys-1 + (package + (name "rust-libpulse-sys") + (version "1.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpulse-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10msfr8f951v86ag0fl2bsm4a3siq2r7hz9bqhhg7i234s1yj5yg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("pulseaudio" ,pulseaudio))) + (home-page "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis "FFI bindings for the PulseAudio") + (description + "This package provides FFI bindings for the PulseAudio libpulse system +library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-libsqlite3-sys-0.22 (package (name "rust-libsqlite3-sys") |