all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 66717@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>, efraim@flashner.co.il
Subject: [bug#66717] [PATCH 10/64] gnu: Add rust-alsa.
Date: Mon, 23 Oct 2023 23:20:55 +0100	[thread overview]
Message-ID: <36386e3fd53c7d86165fc3b6d025aca3015e6fc9.1698099449.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1698094241.git.steve@futurile.net>

* gnu/packages/crates-io.scm (rust-alsa): New variable.

-- >8 --
This version is needed by spotifyd which is my goal.
Version 0.6 is needed now for librespot-playback for this series.
So that 0.6 can inherit from 0.7 I've put them together here.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 697718ca1f..158111abad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3092,6 +3092,44 @@ (define-public rust-allocator-api2-0.2
     (description "Mirror of Rust's allocator API.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-alsa-0.7
+  (package
+    (name "rust-alsa")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "alsa" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0i2ypsk1zarf4hbfagqfmhfskqhr6v5gp237c2skyrjrf08wj4l5"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-test-flags `(list "--lib"
+                                     "--bins"
+                                     "--tests"
+                                     "--"
+                                     "--skip=pcm::drop"
+                                     "--skip=pcm::info_from_default"
+                                     "--skip=pcm::playback_to_default"
+                                     "--skip=pcm::record_from_default"
+                                     "--skip=seq::print_seqs"
+                                     "--skip=seq::seq_loopback"
+                                     "--skip=seq::seq_portsubscribeiter"
+                                     "--skip=seq::seq_subscribe")
+           #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+                            ("rust-alsa-sys" ,rust-alsa-sys-0.3)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-nix" ,rust-nix-0.24))))
+    (native-inputs (list pkg-config alsa-lib))
+    (home-page "https://github.com/diwic/alsa-rs")
+    (synopsis "Thin and safe wrapper around ALSA")
+    (description
+     "A thin and safe wrapper around ALSA.  Provides APIs for
+many parts of ALSA including audio playback, audio recording, HCtl API, raw
+MIDI and MIDI sequencer.")
+    (license license:expat)))
+
 (define-public rust-alsa-sys-0.3
   (package
     (name "rust-alsa-sys")
-- 
2.41.0





  parent reply	other threads:[~2023-10-23 22:27 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 01/64] gnu: Add rust-ogg Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 02/64] gnu: rust-owning-ref: Update to 0.3.3 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 03/64] gnu: rust-parking-lot-core: Update to 0.2.14 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 05/64] gnu: Add rust-rental and rust-rental-impl Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 06/64] gnu: Add rust-al-sys Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 07/64] gnu: Add rust-alto Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 08/64] gnu: Add rust-lewton Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 09/64] gnu: Add rust-alsa-sys Steve George
2023-10-23 22:20 ` Steve George [this message]
2023-10-23 22:20 ` [bug#66717] [PATCH 11/64] gnu: rust-alsa: Update to 0.6.0 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 12/64] gnu: Add rust-coreaudio-rs-0.10 and rust-coreaudio-sys-0.2 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 13/64] gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 14/64] gnu: Add rust-ndk-glue-0.6 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 16/64] gnu: Add rust-oboe-0.4 and rust-oboe-sys-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 17/64] gnu: Add rust-stdweb-0.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 18/64] gnu: Add rust-bindgen-0.56 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 20/64] gnu: Add rust-jack-0.8 and rust-jack-sys-0.2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 21/64] gnu: Add rust-hound-3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 22/64] gnu: Update rust-cache-padded-1 to 1.3.0 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 23/64] gnu: Add rust-ringbuf-0.2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 24/64] gnu: Add rust-cpal-0.13 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 29/64] gnu: Add rust-gstreamer-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 31/64] gnu: Add rust-gstreamer-base-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 32/64] gnu: Add rust-gstreamer-app-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 33/64] gnu: Add rust-gstreamer-app-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 35/64] gnu: Add rust-gstreamer-audio-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 37/64] gnu: Add rust-jack-sys-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 39/64] gnu: rust-libpulse-sys-1: Update to v1.21.0 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 41/64] gnu: rust-libpulse-binding-2: Update to 2.28.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 42/64] gnu Add rust-libpulse-simple-binding-2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 44/64] gnu: Add rust-portaudio-rs-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 45/64] gnu: Add rust-ogg-0.5 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 46/64] gnu: Add rust-mp4parse-0.8 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 47/64] gnu: Add rust-claxon-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 51/64] gnu: Add rust-symphonia-core-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 53/64] gnu: Add rust-symphonia-utils-xiph-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 54/64] gnu: Add rust-symphonia-bundle-flac-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 56/64] gnu: Add rust-symphonia-codec-aac-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 59/64] gnu: Add rust-symphonia-format-iosmp4-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 60/64] gnu: Add rust-symphonia-format-ogg-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 62/64] gnu: rust-symphonia-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 63/64] gnu: Add rust-rodio-0.15 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 64/64] gnu: Add rust-librespot-playback-0.4 Steve George
2023-10-24 11:55 ` bug#66717: [PATCH 00/64] Series to add rust-librespot-playback-0.4 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36386e3fd53c7d86165fc3b6d025aca3015e6fc9.1698099449.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=66717@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.