* [bug#66548] [PATCH] gnu: Add rust-alsa.
@ 2023-10-14 19:26 Jaeme Sifat via Guix-patches via
2023-10-15 3:03 ` [bug#66548] (no subject) Jaeme Sifat via Guix-patches via
` (7 more replies)
0 siblings, 8 replies; 17+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-14 19:26 UTC (permalink / raw)
To: 66548
[-- Attachment #1.1.1: Type: text/plain, Size: 9358 bytes --]
From ecbe163ccbc452a4173da9550fb222b5fb1d4ca4 Mon Sep 17 00:00:00 2001
From: jaeme <jaeme@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@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@apatience.com>
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@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
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3195 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] (no subject)
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
@ 2023-10-15 3:03 ` Jaeme Sifat via Guix-patches via
2023-10-18 8:44 ` Christopher Baines
2023-10-23 5:41 ` [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys jaeme via Guix-patches via
` (6 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-15 3:03 UTC (permalink / raw)
To: 66548
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@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@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@apatience.com>
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@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
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] (no subject)
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
0 siblings, 1 reply; 17+ messages in thread
From: Christopher Baines @ 2023-10-18 8:44 UTC (permalink / raw)
To: Jaeme Sifat; +Cc: 66548
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Jaeme Sifat via Guix-patches via <guix-patches@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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66548] (no subject)
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
` (4 more replies)
0 siblings, 5 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-23 5:38 UTC (permalink / raw)
To: Christopher Baines; +Cc: 66548
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@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@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
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys
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-23 5:41 ` jaeme via Guix-patches via
2023-10-23 5:42 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
` (5 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-23 5:41 UTC (permalink / raw)
To: 66548
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0001-gnu-Add-rust-alsa-sys.patch --]
[-- Type: text/x-patch, Size: 1832 bytes --]
From 5a062eca422943dfeca62c533826424a9b734904 Mon Sep 17 00:00:00 2001
From: Jaeme Sifat <jaeme@runbox.com>
Date: Mon, 23 Oct 2023 01:19:50 -0400
Subject: [PATCH 1/2] gnu: Add rust-alsa-sys
* gnu/packages/crates-io.scm (rust-alsa-sys): New variable
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I5627b473797f129205b0148d0baf094503188c5d
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fba8641a8..7067ef96fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3070,6 +3070,30 @@ (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-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 crate provides raw FFI bindings for ALSA.")
+ (license license:expat)))
+
(define-public rust-always-assert-0.1
(package
(name "rust-always-assert")
--
2.34.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] [PATCH 02/02] gnu: Add rust-alsa
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-23 5:41 ` [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys jaeme via Guix-patches via
@ 2023-10-23 5:42 ` 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
` (4 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-23 5:42 UTC (permalink / raw)
To: 66548
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0002-gnu-Add-rust-alsa.patch --]
[-- Type: text/x-patch, Size: 1928 bytes --]
From a480d1a0616e1512f58bab2ef21db3c06238c709 Mon Sep 17 00:00:00 2001
From: Jaeme Sifat <jaeme@runbox.com>
Date: Mon, 23 Oct 2023 01:26:14 -0400
Subject: [PATCH 2/2] gnu: Add rust-alsa
* gnu/packages/crates-io.scm (rust-alsa): New variable
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Iad788607c6575cf5ad936932c26952868a63c220
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7067ef96fd..bc91f5c512 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3070,6 +3070,33 @@ (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
+ #: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)")
+ (description
+ "Thin but safe wrappers for ALSA in Rust, the most common API for
+accessing audio devices on Linux.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-alsa-sys-0.3
(package
(name "rust-alsa-sys")
--
2.34.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66695] Mistaken Email
2023-10-23 5:38 ` jaeme via Guix-patches via
@ 2023-10-23 14:10 ` jaeme via Guix-patches via
2023-10-25 0:47 ` [bug#66695] jbranso--- via Guix-patches via
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-23 14:10 UTC (permalink / raw)
To: 66695
This issue was open as a mistake and was related to
https://issues.guix.gnu.org/66548
This can be removed.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66548] [PATCH 01/02] gnu: Add rust-alsa-sys.
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
` (2 preceding siblings ...)
2023-10-23 5:42 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
@ 2023-10-24 1:26 ` jaeme via Guix-patches via
2023-10-24 1:27 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
` (3 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-24 1:26 UTC (permalink / raw)
To: 66548
[-- Attachment #1: Type: text/plain, Size: 17 bytes --]
Revised patch 01
[-- Attachment #2: 0001-gnu-Add-rust-alsa-sys.patch --]
[-- Type: text/x-patch, Size: 2058 bytes --]
From 57f53463ae484638ac05433ff02fdca61e275edd Mon Sep 17 00:00:00 2001
From: Jaeme Sifat <jaeme@runbox.com>
Date: Mon, 23 Oct 2023 21:16:50 -0400
Subject: [PATCH 1/2] gnu: Add rust-alsa-sys.
* gnu/packages/crates-io.scm (rust-alsa-sys): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I9d1d18f6e815be28f29c78133ebc031d46b87197
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fba8641a8..0c340be487 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.
;;;
@@ -3070,6 +3071,31 @@ (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-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
+ #: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 "Raw FFI bindings for ALSA in Rust")
+ (description
+ "This crate provides FFI bindings for the ALSA project (Advanced Linux
+Sound Architecture) in Rust.")
+ (license license:expat)))
+
(define-public rust-always-assert-0.1
(package
(name "rust-always-assert")
--
2.34.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] [PATCH 02/02] gnu: Add rust-alsa.
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
` (3 preceding siblings ...)
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 ` jaeme via Guix-patches via
2023-10-25 17:24 ` [bug#66548] Revised Patch After ~rust-cpal~ Merge jaeme via Guix-patches via
` (2 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-24 1:27 UTC (permalink / raw)
To: 66548
[-- Attachment #1: Type: text/plain, Size: 18 bytes --]
Revised patch 02
[-- Attachment #2: 0002-gnu-Add-rust-alsa.patch --]
[-- Type: text/x-patch, Size: 1914 bytes --]
From 7451d3ac63bd45d10dd19c8715661a30467dc8f5 Mon Sep 17 00:00:00 2001
From: Jaeme Sifat <jaeme@runbox.com>
Date: Mon, 23 Oct 2023 21:22:50 -0400
Subject: [PATCH 2/2] gnu: Add rust-alsa.
* gnu/packages/crates-io.scm (rust-alsa): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I41c076176fa7051821919c0e01ab574ebead09db
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c340be487..c46e365a7c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3071,6 +3071,33 @@ (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
+ #: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, the most common
+API for accessing audio devices on Linux in Rust.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-alsa-sys-0.3
(package
(name "rust-alsa-sys")
--
2.34.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66695]
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 ` jbranso--- via Guix-patches via
2023-10-25 1:03 ` [bug#66695] jbranso--- via Guix-patches via
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: jbranso--- via Guix-patches via @ 2023-10-25 0:47 UTC (permalink / raw)
To: 66695
[-- Attachment #1: Type: text/plain, Size: 13 bytes --]
close 66695
[-- Attachment #2: Type: text/html, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66695]
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 ` 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
4 siblings, 0 replies; 17+ messages in thread
From: jbranso--- via Guix-patches via @ 2023-10-25 1:03 UTC (permalink / raw)
To: 66695, jaeme
So I apparently cannot close this bug, but you can jaeme:
https://debbugs.gnu.org/server-control.html
I personally use emacs-debbugs to close bug reports. It is fairly
easy wants you get it set up.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66695] (no subject)
2023-10-23 5:38 ` jaeme via Guix-patches via
` (2 preceding siblings ...)
2023-10-25 1:03 ` [bug#66695] jbranso--- via Guix-patches via
@ 2023-10-25 1:42 ` jaeme via Guix-patches via
2023-10-25 1:52 ` [bug#66695] close 66695 jaeme via Guix-patches via
4 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-25 1:42 UTC (permalink / raw)
To: 66695
[-- Attachment #1.1.1: Type: text/plain, Size: 15 bytes --]
close 66695
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3195 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66695] close 66695
2023-10-23 5:38 ` jaeme via Guix-patches via
` (3 preceding siblings ...)
2023-10-25 1:42 ` [bug#66695] (no subject) jaeme via Guix-patches via
@ 2023-10-25 1:52 ` jaeme via Guix-patches via
4 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-25 1:52 UTC (permalink / raw)
To: 66695
close 66695
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#66548] Revised Patch After ~rust-cpal~ Merge.
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
` (4 preceding siblings ...)
2023-10-24 1:27 ` [bug#66548] [PATCH 02/02] gnu: Add rust-alsa jaeme via Guix-patches via
@ 2023-10-25 17:24 ` jaeme via Guix-patches via
2023-10-25 17:29 ` [bug#66548] Updated with copyright header jaeme via Guix-patches via
2023-10-28 23:14 ` [bug#66548] [PATCH vREVISION] gnu: Add rust-alsa-0.8 Jaeme Sifat via Guix-patches via
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-25 17:24 UTC (permalink / raw)
To: 66548; +Cc: efraim
[-- Attachment #1: Type: text/plain, Size: 146 bytes --]
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.
[-- Attachment #2: 0001-gnu-Add-rust-alsa-0.8.patch --]
[-- Type: text/x-patch, Size: 4211 bytes --]
From 54771bc76533f634dd4b5dc58402931c89c07bd4 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 (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 | 47 +++++++++++++++++++++++++++++++-------
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..aa7152b134 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3094,17 +3094,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 +3121,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.41.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] Updated with copyright header
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
` (5 preceding siblings ...)
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
2023-10-28 23:14 ` [bug#66548] [PATCH vREVISION] gnu: Add rust-alsa-0.8 Jaeme Sifat via Guix-patches via
7 siblings, 0 replies; 17+ messages in thread
From: jaeme via Guix-patches via @ 2023-10-25 17:29 UTC (permalink / raw)
To: 66548
[-- 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
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#66548] [PATCH vREVISION] gnu: Add rust-alsa-0.8.
2023-10-14 19:26 [bug#66548] [PATCH] gnu: Add rust-alsa Jaeme Sifat via Guix-patches via
` (6 preceding siblings ...)
2023-10-25 17:29 ` [bug#66548] Updated with copyright header jaeme via Guix-patches via
@ 2023-10-28 23:14 ` Jaeme Sifat via Guix-patches via
2023-11-05 10:31 ` bug#66548: " Efraim Flashner
7 siblings, 1 reply; 17+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 23:14 UTC (permalink / raw)
To: 66548; +Cc: Jaeme Sifat
* 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)
base-commit: b6e8d587c4551f0fd28fcef96f33909a8ab8e9df
--
2.34.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* bug#66548: [PATCH vREVISION] gnu: Add rust-alsa-0.8.
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 ` Efraim Flashner
0 siblings, 0 replies; 17+ messages in thread
From: Efraim Flashner @ 2023-11-05 10:31 UTC (permalink / raw)
To: Jaeme Sifat; +Cc: 66548-done
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Thanks. Patches pushed to the rust-team branch.
--
Efraim Flashner <efraim@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2023-11-05 11:18 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#66548] Updated with copyright header jaeme via Guix-patches via
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
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.