all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jaeme via Guix-patches via <guix-patches@gnu.org>
To: 66548@debbugs.gnu.org
Subject: [bug#66548] Updated with copyright header
Date: Wed, 25 Oct 2023 13:29:32 -0400	[thread overview]
Message-ID: <0aefd416-080f-4753-b7d3-f7f7a5068cba@runbox.com> (raw)
In-Reply-To: <c1385520-9533-4e6f-9fff-612f4a574c58@runbox.com>

[-- Attachment #1: Type: text/plain, Size: 43 bytes --]

I forgot the copyright header for my patch.

[-- Attachment #2: 0001-gnu-Add-rust-alsa-0.8.patch --]
[-- Type: text/x-patch, Size: 4555 bytes --]

From 56e520abd2a10df7b573dc20d2f9a4b327894a19 Mon Sep 17 00:00:00 2001
From: Jaeme Sifat <jaeme@runbox.com>
Date: Wed, 25 Oct 2023 13:10:30 -0400
Subject: [PATCH] gnu: Add rust-alsa-0.8.

* gnu/packages/crates-io.scm: Update copyright header.
* gnu/packages/crates-io.scm (rust-alsa-0.8): New variable.
* gnu/packages/crates-io.scm (rust-alsa-0.7): Inherit rust-alsa-0.8.

Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I4c94ca99f12185e1c47f9e03b7bc3157f92d202d
---
 gnu/packages/crates-io.scm | 48 +++++++++++++++++++++++++++++++-------
 1 file changed, 40 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..cd95542430 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
 ;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
 ;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3094,17 +3095,17 @@ (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
+(define-public rust-alsa-0.8
   (package
     (name "rust-alsa")
-    (version "0.7.1")
+    (version "0.8.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "alsa" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0iwbdgb6lr81iji9sr4f91mys24pia5avnkgbkv8kxzhvkc2lmp2"))))
+                "02pzlq2q8ml28ikvkvm77bwdqmi22d6ak1qvrc0cr6yjb9adwd6f"))))
     (build-system cargo-build-system)
     (arguments
      (list #:cargo-test-flags `(list "--release"
@@ -3121,18 +3122,49 @@ (define-public rust-alsa-0.7
                                      "--skip=seq::seq_portsubscribeiter"
                                      "--skip=seq::seq_subscribe")
            #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3)
-                            ("rust-bitflags" ,rust-bitflags-1)
+                            ("rust-bitflags" ,rust-bitflags-2)
                             ("rust-libc" ,rust-libc-0.2)
-                            ("rust-nix" ,rust-nix-0.24))))
+                            ("rust-nix" ,rust-nix-0.26))))
     (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.")
+     "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-0.7
+  (package
+    (inherit rust-alsa-0.8)
+    (name "rust-alsa")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "alsa" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0iwbdgb6lr81iji9sr4f91mys24pia5avnkgbkv8kxzhvkc2lmp2"))))
+    (arguments
+     (list #:cargo-test-flags `(list "--release"
+                                     ;; Not the doc tests.
+                                     "--lib" "--bins" "--tests"
+                                     "--"
+                                     ;; These try to use the audio interface
+                                     "--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-alsa-sys" ,rust-alsa-sys-0.3)
+                            ("rust-bitflags" ,rust-bitflags-1)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-nix" ,rust-nix-0.24))))))
+
 (define-public rust-alsa-0.6
   (package
     (inherit rust-alsa-0.7)
-- 
2.34.1


  parent reply	other threads:[~2023-10-25 17:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
2023-10-15  3:03 ` [bug#66548] (no subject) Jaeme Sifat via Guix-patches via
2023-10-18  8:44   ` Christopher Baines
2023-10-23  5:38     ` jaeme via Guix-patches via
2023-10-23 14:10       ` [bug#66695] Mistaken Email jaeme via Guix-patches via
2023-10-25  0:47       ` [bug#66695] jbranso--- via Guix-patches via
2023-10-25  1:03       ` [bug#66695] jbranso--- via Guix-patches via
2023-10-25  1:42       ` [bug#66695] (no subject) jaeme via Guix-patches via
2023-10-25  1:52       ` [bug#66695] close 66695 jaeme via Guix-patches via
2023-10-23  5:41 ` [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys jaeme via Guix-patches via
2023-10-23  5:42 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
2023-10-24  1:26 ` [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys jaeme via Guix-patches via
2023-10-24  1:27 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
2023-10-25 17:24 ` [bug#66548] Revised Patch After ~rust-cpal~ Merge jaeme via Guix-patches via
2023-10-25 17:29 ` jaeme via Guix-patches via [this message]
2023-10-28 23:14 ` [bug#66548] [PATCH vREVISION] gnu: Add rust-alsa-0.8 Jaeme Sifat via Guix-patches via
2023-11-05 10:31   ` bug#66548: " 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=0aefd416-080f-4753-b7d3-f7f7a5068cba@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=66548@debbugs.gnu.org \
    --cc=jaeme@runbox.com \
    /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.