GNU bug report logs -
#66548
[PATCH] gnu: Add rust-alsa.
Previous Next
Reported by: Jaeme Sifat <jaeme <at> runbox.com>
Date: Sat, 14 Oct 2023 20:17:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66548 in the body.
You can then email your comments to 66548 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Sat, 14 Oct 2023 20:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jaeme Sifat <jaeme <at> runbox.com>:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org.
(Sat, 14 Oct 2023 20:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From ecbe163ccbc452a4173da9550fb222b5fb1d4ca4 Mon Sep 17 00:00:00 2001
From: jaeme <jaeme <at> runbox.com>
Date: Sat, 14 Oct 2023 14:55:03 -0400
Subject: [PATCH] gnu: Add rust-alsa.
* 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): New variable.
* gnu/packages/crates-io.scm (rust-alsa-0.6): New variable.
* gnu/packages/crates-io.scm (rust-alsa-sys-0.3): New variable
* gnu/packages/crates-io.scm (rust-alsa-sys-0.1): New variable
* gnu/packages/crates.io.scm (rust-bitflags-2): Update to 2.4.0
Signed-off-by: jaeme <jaeme <at> runbox.com>
---
gnu/packages/crates-io.scm | 144 +++++++++++++++++++++++++++++++------
1 file changed, 124 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..0611ad464d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2022 Paul A. Patience <paul <at> apatience.com>
;;; Copyright © 2022 Paul Alesius <paul <at> unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose <at> gmail.com>
+;;; Copyright © 2023 Jaeme Sifat <jaeme <at> runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2917,6 +2918,112 @@ (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.8
+ (package
+ (name "rust-alsa")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02k93vj8h789qx6as8yzi7r2wycqgmcsmk6m1pbb99dkwkhhjwww"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;Fails integration tests
+ #:cargo-inputs (("rust-alsa-sys" ,rust-alsa-sys-0.3)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.26))))
+ (inputs (list alsa-lib))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/diwic/alsa-rs")
+ (synopsis "Thin but safe wrappers for ALSA (Linux sound API) in Rust")
+ (description
+ "Thin but safe wrappers for ALSA in Rust which is the most common
API for
+accessing audio devices on Linux.")
+ (license (list license:asl2.0 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"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #: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.8)
+ (name "rust-alsa")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0szx8finhqbffh08fp3bgh4ywz0b572vcdyh4hwyhrfgw8pza5ar"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #: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.23))))))
+
+(define-public rust-alsa-sys-0.3
+ (package
+ (name "rust-alsa-sys")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09qmmnpmlcj23zcgx2xsi4phcgm5i02g9xaf801y7i067mkfx3yv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;doc tests fail due to scoping issues
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs (list alsa-lib))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/diwic/alsa-sys")
+ (synopsis
+ "FFI bindings for the ALSA project (Advanced Linux Sound
Architecture)")
+ (description
+ "This package provides raw FFI bindings for ALSA for the rust-alsa
+crate.")
+ (license license:expat)))
+
+(define-public rust-alsa-sys-0.1
+ (package
+ (inherit rust-alsa-sys-0.3)
+ (name "rust-alsa-sys")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"0n3xr2msblmqlsx313b2y2v9hamqh0hp43v23fp1b3znkszwpvdh"))))))
+
(define-public rust-always-assert-0.1
(package
(name "rust-always-assert")
@@ -7736,38 +7843,35 @@ (define-public rust-bitfield-0.13
(define-public rust-bitflags-2
(package
(name "rust-bitflags")
- (version "2.3.3")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bitflags" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hifjw3191g3w5cwqqvbx8knrr3zchdwfc3rs6mn11p5si9yf2v3"))))
+ (base32 "0dc6xa7flfl59makmhixjcrslwlvdxxwrgxbr8p7bkvz53k2ls5l"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
- #:cargo-inputs
- (("rust-arbitrary" ,rust-arbitrary-1)
- ("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-arbitrary" ,rust-arbitrary-1)
- ("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-rustversion" ,rust-rustversion-1)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-test" ,rust-serde-test-1)
- ("rust-trybuild" ,rust-trybuild-1)
- ("rust-zerocopy" ,rust-zerocopy-0.6))))
+ `(#:tests? #f ;Not all files included.
+ #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-compiler-builtins"
,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-core"
,rust-rustc-std-workspace-core-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde-derive"
,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))))
(home-page "https://github.com/bitflags/bitflags")
(synopsis "Macro to generate structures which behave like bitflags")
(description "This package provides a macro to generate structures
which
behave like a set of bitflags.")
- (license (list license:asl2.0
- license:expat))))
+ (license (list license:asl2.0 license:expat))))
(define-public rust-bitflags-1
(package
--
2.34.1
[OpenPGP_0x2BBE3D4C390B79A3.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Sun, 15 Oct 2023 06:59:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 66548 <at> debbugs.gnu.org (full text, mbox):
I revised my patch to not include older versions of rust-alsa as they
are not needed.
From bb9a39beb92190d315284196ee63274e359fa657 Mon Sep 17 00:00:00 2001
From: jaeme <jaeme <at> runbox.com>
Date: Sat, 14 Oct 2023 22:54:54 -0400
Subject: [PATCH] gnu: Add rust-alsa
* gnu/packages/crates-io.scm (rust-alsa-0.8): New variable.
* gnu/packages/crates-io.scm (rust-alsa-sys-0.3): New variable.
* gnu/packages/crates-io.scm (rust-bitflags-2): Update to 2.4.0.
* gnu/packages/crates-io.scm: Update copyright header.
Signed-off-by: jaeme <jaeme <at> runbox.com>
---
gnu/packages/crates-io.scm | 89 +++++++++++++++++++++++++++++---------
1 file changed, 69 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..bca76f66ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2022 Paul A. Patience <paul <at> apatience.com>
;;; Copyright © 2022 Paul Alesius <paul <at> unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose <at> gmail.com>
+;;; Copyright © 2023 Jaeme Sifat <jaeme <at> runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2917,6 +2918,57 @@ (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.8
+ (package
+ (name "rust-alsa")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02k93vj8h789qx6as8yzi7r2wycqgmcsmk6m1pbb99dkwkhhjwww"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;integration tests fail on ALSA lib
+ #:cargo-inputs (("rust-alsa-sys" ,rust-alsa-sys-0.3)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.26))))
+ (inputs (list alsa-lib))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/diwic/alsa-rs")
+ (synopsis "Thin but safe wrappers for ALSA (Linux sound API) in Rust")
+ (description
+ "This package provides thin but safe wrappers for ALSA in Rust
which is
+the most common API for accessing audio devices.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-alsa-sys-0.3
+ (package
+ (name "rust-alsa-sys")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alsa-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09qmmnpmlcj23zcgx2xsi4phcgm5i02g9xaf801y7i067mkfx3yv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;doc tests fail due to scoping issues
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs (list alsa-lib))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/diwic/alsa-sys")
+ (synopsis
+ "Rust FFI bindings for the ALSA project (Advanced Linux Sound
Architecture)")
+ (description "This crate provides raw Rust FFI bindings for ALSA.")
+ (license license:expat)))
+
(define-public rust-always-assert-0.1
(package
(name "rust-always-assert")
@@ -7736,38 +7788,35 @@ (define-public rust-bitfield-0.13
(define-public rust-bitflags-2
(package
(name "rust-bitflags")
- (version "2.3.3")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bitflags" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hifjw3191g3w5cwqqvbx8knrr3zchdwfc3rs6mn11p5si9yf2v3"))))
+ (base32 "0dc6xa7flfl59makmhixjcrslwlvdxxwrgxbr8p7bkvz53k2ls5l"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
- #:cargo-inputs
- (("rust-arbitrary" ,rust-arbitrary-1)
- ("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-arbitrary" ,rust-arbitrary-1)
- ("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-rustversion" ,rust-rustversion-1)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-test" ,rust-serde-test-1)
- ("rust-trybuild" ,rust-trybuild-1)
- ("rust-zerocopy" ,rust-zerocopy-0.6))))
+ `(#:tests? #f ;Not all files included.
+ #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-compiler-builtins"
,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-core"
,rust-rustc-std-workspace-core-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde-derive"
,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))))
(home-page "https://github.com/bitflags/bitflags")
(synopsis "Macro to generate structures which behave like bitflags")
(description "This package provides a macro to generate structures
which
behave like a set of bitflags.")
- (license (list license:asl2.0
- license:expat))))
+ (license (list license:asl2.0 license:expat))))
(define-public rust-bitflags-1
(package
--
2.34.1
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Wed, 18 Oct 2023 08:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jaeme Sifat via Guix-patches via <guix-patches <at> gnu.org> writes:
> I revised my patch to not include older versions of rust-alsa as they
> are not needed.
>
>
> From bb9a39beb92190d315284196ee63274e359fa657 Mon Sep 17 00:00:00 2001
> From: jaeme <jaeme <at> runbox.com>
> Date: Sat, 14 Oct 2023 22:54:54 -0400
> Subject: [PATCH] gnu: Add rust-alsa
>
> * gnu/packages/crates-io.scm (rust-alsa-0.8): New variable.
> * gnu/packages/crates-io.scm (rust-alsa-sys-0.3): New variable.
> * gnu/packages/crates-io.scm (rust-bitflags-2): Update to 2.4.0.
> * gnu/packages/crates-io.scm: Update copyright header.
Hi Jaeme,
Would you be able to split this up in to three commits/patches, with one
package added/updated per commit?
I did try to apply the patch, but wasn't able to. I think Git took issue
with the format of the email (and it seemed to have lots of non breaking
spaces in it as well). Could you use git send-email to send the patches,
or maybe generate patch files and send them one by one as attachments if
git send-email isn't possible for you?
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Wed, 18 Oct 2023 08:48:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Mon, 23 Oct 2023 05:40:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 66548 <at> debbugs.gnu.org (full text, mbox):
I redid my patches again, I split it up into 2 patches for rust-alsa and
rust-alsa-sys since bitflags was updated on master.
On 10/18/23 04:44, Christopher Baines wrote:
> Jaeme Sifat via Guix-patches via <guix-patches <at> gnu.org> writes:
>
>> I revised my patch to not include older versions of rust-alsa as they
>> are not needed.
>>
>>
>> From bb9a39beb92190d315284196ee63274e359fa657 Mon Sep 17 00:00:00 2001
>> From: jaeme <jaeme <at> runbox.com>
>> Date: Sat, 14 Oct 2023 22:54:54 -0400
>> Subject: [PATCH] gnu: Add rust-alsa
>>
>> * gnu/packages/crates-io.scm (rust-alsa-0.8): New variable.
>> * gnu/packages/crates-io.scm (rust-alsa-sys-0.3): New variable.
>> * gnu/packages/crates-io.scm (rust-bitflags-2): Update to 2.4.0.
>> * gnu/packages/crates-io.scm: Update copyright header.
> Hi Jaeme,
>
> Would you be able to split this up in to three commits/patches, with one
> package added/updated per commit?
>
> I did try to apply the patch, but wasn't able to. I think Git took issue
> with the format of the email (and it seemed to have lots of non breaking
> spaces in it as well). Could you use git send-email to send the patches,
> or maybe generate patch files and send them one by one as attachments if
> git send-email isn't possible for you?
>
> Thanks,
>
> Chris
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Mon, 23 Oct 2023 05:53:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[0002-gnu-Add-rust-alsa.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Mon, 23 Oct 2023 05:53:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[0001-gnu-Add-rust-alsa-sys.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Tue, 24 Oct 2023 01:28:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Revised patch 01
[0001-gnu-Add-rust-alsa-sys.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Tue, 24 Oct 2023 01:29:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Revised patch 02
[0002-gnu-Add-rust-alsa.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Wed, 25 Oct 2023 17:26:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
In regards to https://issues.guix.gnu.org/66717 being merged into
master. I've revised my previous patch to just be one patch of
rust-alsa-0.8.
[0001-gnu-Add-rust-alsa-0.8.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Wed, 25 Oct 2023 17:31:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 66548 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I forgot the copyright header for my patch.
[0001-gnu-Add-rust-alsa-0.8.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66548; Package
guix-patches.
(Sat, 28 Oct 2023 23:16:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 66548 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> 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 <at> unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose <at> gmail.com>
;;; Copyright © 2023 Wilko Meyer <w <at> wmeyer.eu>
+;;; Copyright © 2023 Jaeme Sifat <jaeme <at> 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)
base-commit: b6e8d587c4551f0fd28fcef96f33909a8ab8e9df
--
2.34.1
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility.
(Sun, 05 Nov 2023 10:33:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jaeme Sifat <jaeme <at> runbox.com>:
bug acknowledged by developer.
(Sun, 05 Nov 2023 10:33:01 GMT)
Full text and
rfc822 format available.
Message #43 received at 66548-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks. Patches pushed to the rust-team branch.
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Sun, 03 Dec 2023 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.