From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IMqWKSSWPWUf0QAA9RJhRA:P1 (envelope-from ) for ; Sun, 29 Oct 2023 01:15:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IMqWKSSWPWUf0QAA9RJhRA (envelope-from ) for ; Sun, 29 Oct 2023 01:15:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 38D3B57D35 for ; Sun, 29 Oct 2023 01:15:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=gVbLxE1C; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698534948; a=rsa-sha256; cv=none; b=ibz+7lSLrMyXWymqqTAsJQw5Yn0iQkLgyTE5htmfDzoEnhiq6sA3h2ZwZX9ANX5AVae2GZ NBww6XroN9J247nku0nYbKUC6vJ46Ll5v29iKshTJ2++fOfoAeo9mIzm2cfTe/byiZa6Hl ssC5x1ecjzETGBPx5QmdgCPT36XHy41Ze6EOcBzUBp2+3rPuaHEXVk8K0Xv6+a3xEw/EsL JMuh7wY8p1mMZFX9ULuUBc2cbpp66VQPGew0zS19M1NUPc+uYF/Vh/N2lpBrupAtyf9ZzQ 4sBzh+P7VjKgdTUDEDJN2h8JY/Be5l/61If21nYKYtWowJvpm1Y/qBsh+jNBdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698534948; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b+zE2j/wnwDUneVktGh2HIFt6VVDse2HweBCukoS9Dw=; b=cSJPw2aukHbOvMNyZsGlwCPve7KNHSe9PIYeZC4YwCwx/Woiu96WplYaR3lGhrO30tWvkC +0YMg7U0i73eelGgLhEy839KbOAgn8cb6HsMOGHhSedof0WHUIbRfwUVUFWu3SMdylkVgV Zfir/vO/65n57aTke23Ll58VUl3uGo+JOAkPu7slzgJVPF+x8una8xiYj0y7VuQ/Fg/iXZ 5SVUI0YTH+USgpE8zg5jzTviQRpYbAaa0STZWHJ+43uB/5XJ/d0r8PIvIZLTnALpQismqJ HsT+mtp2/eifiOAN85WhMh1ybW0Bx30UWElhuf6XgGn6d+AkEUG0aId7qUNeqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=gVbLxE1C; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwsWi-0002tA-BU; Sat, 28 Oct 2023 19:15:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwsWf-0002sZ-RZ for guix-patches@gnu.org; Sat, 28 Oct 2023 19:15:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwsWf-0003Ri-Jb for guix-patches@gnu.org; Sat, 28 Oct 2023 19:15:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwsXB-0001aL-PH for guix-patches@gnu.org; Sat, 28 Oct 2023 19:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66548] [PATCH vREVISION] gnu: Add rust-alsa-0.8. References: In-Reply-To: Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Oct 2023 23:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66548 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66548@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66548-submit@debbugs.gnu.org id=B66548.16985349476074 (code B ref 66548); Sat, 28 Oct 2023 23:16:01 +0000 Received: (at 66548) by debbugs.gnu.org; 28 Oct 2023 23:15:47 +0000 Received: from localhost ([127.0.0.1]:39903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwsWw-0001Zu-Pf for submit@debbugs.gnu.org; Sat, 28 Oct 2023 19:15:47 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:43426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwsWs-0001Za-FY for 66548@debbugs.gnu.org; Sat, 28 Oct 2023 19:15:45 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qwsWD-00ApE8-Ti for 66548@debbugs.gnu.org; Sun, 29 Oct 2023 01:15:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=b+zE2j/wnwDUneVktGh2HIFt6VVDse2HweBCukoS9Dw=; b=gVbLxE1CIt2qhKWN/JeMkXGdH2 8jmwgmZUIefnCm6/JvjwCIDl8pgegrzOP2Fhs4aOr930D4F75ehrIn2DMeg8GtdKtXr3rtieHlnbt +jByaOMs1VdoA6plQPIpihN6BWOdE0Yq9nplXtfIJ14WO87sijeHqrCC57WaT6v+A9rna0Gu6GaTi wLQlfJXutvWNxSIAFBsoYZvMklaNCfGcWLflgCJNxRXTQokVZ+jtm7NE0yv/dx/KXo+WQJTDn7/v/ v3G2hwYgkqW6JYKPbkGSXKmlIcFnHY8OAdZKDKDqSKRhLNX8TVKLKwNEIweWC77di0ScrIGOGcrev XUJtZlDA==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qwsWD-0000MZ-7U for 66548@debbugs.gnu.org; Sun, 29 Oct 2023 01:15:01 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qwsW6-0010ua-6k; Sun, 29 Oct 2023 01:14:54 +0200 Date: Sat, 28 Oct 2023 19:14:43 -0400 Message-Id: <5d19ebbc598dd782a93630a180accbab290c0b35.1698534881.git.jaeme@runbox.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.70 X-Migadu-Queue-Id: 38D3B57D35 X-Migadu-Spam-Score: -6.70 X-TUID: gPqzIJ7pG8dA * 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 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 ;;; Copyright © 2023 Arnav Andrew Jose ;;; Copyright © 2023 Wilko Meyer +;;; Copyright © 2023 Jaeme Sifat ;;; ;;; 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) base-commit: b6e8d587c4551f0fd28fcef96f33909a8ab8e9df -- 2.34.1