* [bug#66717] [PATCH 01/64] gnu: Add rust-ogg.
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 02/64] gnu: rust-owning-ref: Update to 0.3.3 Steve George
` (63 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-ogg): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fba8641a8..5f9cb84eb8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45970,6 +45970,31 @@ (define-public rust-odds-0.2
("rust-memchr" ,rust-memchr-2)
("rust-quickcheck" ,rust-quickcheck-0.4))))))
+(define-public rust-ogg-0.8
+ (package
+ (name "rust-ogg")
+ (version "0.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ogg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vjxmqcv9252aj8byy70iy2krqfjknfcxg11lcyikj11pzlb8lb9"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))
+ #:cargo-development-inputs `(("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/RustAudio/ogg")
+ (synopsis "Ogg container decoder and encoder written in pure Rust")
+ (description "An Ogg decoder and encoder. Implements the xiph.org Ogg
+spec in pure Rust.")
+ (license license:expat)))
+
(define-public rust-oid-registry-0.6
(package
(name "rust-oid-registry")
base-commit: cbd20d627497053871db863970c07d93c7081786
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 02/64] gnu: rust-owning-ref: Update to 0.3.3.
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 03/64] gnu: rust-parking-lot-core: Update to 0.2.14 Steve George
` (62 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-owning-ref): Update to 0.3.3.
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f9cb84eb8..9c999b8134 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47206,6 +47206,22 @@ (define-public rust-owning-ref-0.4
normally prevent moving a type that has been borrowed from.")
(license license:expat)))
+(define-public rust-owning-ref-0.3
+ (package
+ (inherit rust-owning-ref-0.4)
+ (name "rust-owning-ref")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "owning-ref" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dqgf5hwbmvkf2ffbik5xmhvaqvqi6iklhwk9x47n0wycd0lzy6d"))))
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
+
(define-public rust-p256-0.13
(package
(name "rust-p256")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 03/64] gnu: rust-parking-lot-core: Update to 0.2.14.
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8 Steve George
` (61 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-parking-lot-core): Update to 0.2.14.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c999b8134..2569f3b333 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48073,6 +48073,28 @@ (define-public rust-parking-lot-core-0.4
("rust-winapi" ,rust-winapi-0.3)
("rust-rustc-version" ,rust-rustc-version-0.2))))))
+(define-public rust-parking-lot-core-0.2
+ (package
+ (inherit rust-parking-lot-core-0.6)
+ (name "rust-parking-lot-core")
+ (version "0.2.14")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "parking-lot-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yip8m6npxb87ilnn0q774psp1zd0vgv66fcjkkvr9rlyz6aicad"))))
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-smallvec" ,rust-smallvec-0.6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-petgraph" ,rust-petgraph-0.4)
+ ("rust-thread-id" ,rust-thread-id-3))))))
+
(define-public rust-parquet-5
(package
(name "rust-parquet")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (2 preceding siblings ...)
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 05/64] gnu: Add rust-rental and rust-rental-impl Steve George
` (60 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-parking-lot): Update to 0.4.8.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2569f3b333..276e3852a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47899,6 +47899,25 @@ (define-public rust-parking-lot-0.7
("rust-rand" ,rust-rand-0.4)
("rust-rustc-version" ,rust-rustc-version-0.2))))))
+(define-public rust-parking-lot-0.4
+ (package
+ (inherit rust-parking-lot-0.9)
+ (name "rust-parking-lot")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "parking-lot" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ph0kv3dfcxpjbi83wkzammqb7lm95j8in7w7hz17hgkjxdqz78l"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-parking-lot-core" ,rust-parking-lot-core-0.2)
+ ("rust-owning-ref" ,rust-owning-ref-0.3))
+ #:cargo-development-inputs `(("rust-rand" ,rust-rand-0.3))))))
+
(define-public rust-parking-lot-core-0.9
(package
(name "rust-parking-lot-core")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 05/64] gnu: Add rust-rental and rust-rental-impl.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (3 preceding siblings ...)
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 06/64] gnu: Add rust-al-sys Steve George
` (59 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-rental): New variable.
* gnu/packages/crates-io.scm (rust-rental-impl): New variable.
-- >8 --
This crate built from source in June, but no longer does so.
I suspect that it's due to an update in the rust compiler/crate version.
Tried rust 1.64 but this didn't fix it - didn't know how else to debug.
As the only dependency is my own package decided not to spend more time
on it - set skip-build? #t
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 276e3852a5..a3360c6024 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56795,6 +56795,53 @@ (define-public rust-rend-0.4
Rust.")
(license license:expat)))
+(define-public rust-rental-0.5
+ (package
+ (name "rust-rental")
+ (version "0.5.6")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rental" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bhzz2pfbg0yaw8p1l31bggq4jn077wslf6ifhj22vf3r8mgx2fc"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #t ; built with previous crate/rust version
+ #:cargo-inputs `(("rust-rental-impl" ,rust-rental-impl-0.5)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/jpernst/rental")
+ (synopsis "Macro to generate safe self-referential structs")
+ (description
+ "A macro to generate safe self-referential structs, plus
+premade types for common use-cases. This crate is frozen and should be
+avoided if possible.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-rental-impl-0.5
+ (package
+ (name "rust-rental-impl")
+ (version "0.5.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rental-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pj0qgmvwwsfwyjqyjxzikkwbwc3vj7hm3hdykr47dy5inbnhpj7"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/jpernst/rental")
+ (synopsis "Implementation details of the rust-rental crate.")
+ (description "Implementation details for the rust-rental crate.
+Should not be used directly.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-reopen-0.3
(package
(name "rust-reopen")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 06/64] gnu: Add rust-al-sys.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (4 preceding siblings ...)
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 07/64] gnu: Add rust-alto Steve George
` (58 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-al-sys): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3360c6024..58faea49ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2788,6 +2788,28 @@ (define-public rust-aho-corasick-0.5
("rust-rand" ,rust-rand-0.3)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+(define-public rust-al-sys-0.6
+ (package
+ (name "rust-al-sys")
+ (version "0.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "al-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08whlcfrhn4gqi4nbglkdqv5ysdpnvnlsqg51q34q9hh9l7rp3gz"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-libloading" ,rust-libloading-0.5)
+ ("rust-rental" ,rust-rental-0.5))
+ #:cargo-development-inputs `(("rust-cmake" ,rust-cmake-0.1))))
+ (home-page "https://github.com/jpernst/alto")
+ (synopsis "Raw bindings for OpenAL 1.1")
+ (description "Rust bindings for OpenAL, this crate contains FFI elements.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-alacritty-config-0.1
(package
(name "rust-alacritty-config")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 07/64] gnu: Add rust-alto.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (5 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 06/64] gnu: Add rust-al-sys Steve George
@ 2023-10-23 22:20 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 08/64] gnu: Add rust-lewton Steve George
` (57 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-alto): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58faea49ce..6e1dd9daef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3092,6 +3092,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-alto-3
+ (package
+ (name "rust-alto")
+ (version "3.0.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "alto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rgsdmh346s3rwhzqacjc6nz7jap4dd72c1gfmkaq9sgzh9fhnyp"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f ;tests assume Windows
+ #:skip-build? #f
+ #:cargo-inputs `(("rust-al-sys" ,rust-al-sys-0.6)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-parking-lot" ,rust-parking-lot-0.4))))
+ (home-page "https://github.com/jpernst/alto")
+ (synopsis
+ "Idiomatic Rust bindings for OpenAL 1.1 and extensions (including EFX)")
+ (description
+ "Rust bindings for OpenAL 1.1 and extensions (including EFX).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-always-assert-0.1
(package
(name "rust-always-assert")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 08/64] gnu: Add rust-lewton.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (6 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 07/64] gnu: Add rust-alto Steve George
@ 2023-10-23 22:20 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 09/64] gnu: Add rust-alsa-sys Steve George
` (56 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-lewton): New variable.
---
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 6e1dd9daef..52a2ccf876 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36125,6 +36125,33 @@ (define-public rust-lettre-0.9
sending emails from Rust applications.")
(license license:expat)))
+(define-public rust-lewton-0.10
+ (package
+ (name "rust-lewton")
+ (version "0.10.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "lewton" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c60fn004awg5c3cvx82d6na2pirf0qdz9w3b93mbcdakbglhyvp"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+ ("rust-tinyvec" ,rust-tinyvec-1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-ogg" ,rust-ogg-0.8)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))
+ #:cargo-development-inputs `(("rust-alto" ,rust-alto-3)
+ ("rust-ogg" ,rust-ogg-0.8))))
+ (home-page "https://github.com/RustAudio/lewton")
+ (synopsis "Pure Rust Vorbis decoder")
+ (description "A pure Rust Vorbis decoder. Vorbis is a free and open
+source audio format.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-lexical-core-0.8
(package
(name "rust-lexical-core")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 09/64] gnu: Add rust-alsa-sys.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (7 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 08/64] gnu: Add rust-lewton Steve George
@ 2023-10-23 22:20 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 10/64] gnu: Add rust-alsa Steve George
` (55 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-alsa-sys): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52a2ccf876..697718ca1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3092,6 +3092,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
+ (list #:tests? #f ;doc tests fail
+ #:skip-build? #f
+ #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config alsa-lib))
+ (home-page "https://github.com/diwic/alsa-sys")
+ (synopsis "FFI bindings for the ALSA sound API")
+ (description
+ "FFI bindings for the ALSA sound API. This package contains
+the code to interact with the underlying operating system ALSA interface.")
+ (license license:expat)))
+
(define-public rust-alto-3
(package
(name "rust-alto")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 10/64] gnu: Add rust-alsa.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (8 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 09/64] gnu: Add rust-alsa-sys Steve George
@ 2023-10-23 22:20 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 11/64] gnu: rust-alsa: Update to 0.6.0 Steve George
` (54 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* 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
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 11/64] gnu: rust-alsa: Update to 0.6.0.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (9 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 10/64] gnu: Add rust-alsa Steve George
@ 2023-10-23 22:20 ` 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
` (53 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-alsa): Update to 0.6.0.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 158111abad..dbaa3f3c45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3130,6 +3130,36 @@ (define-public rust-alsa-0.7
MIDI and MIDI sequencer.")
(license license:expat)))
+(define-public rust-alsa-0.6
+ (package
+ (inherit rust-alsa-0.7)
+ (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"))))
+ (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-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")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 12/64] gnu: Add rust-coreaudio-rs-0.10 and rust-coreaudio-sys-0.2.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (10 preceding siblings ...)
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 ` 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
` (52 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-coreaudio-rs-0.10): New variable.
* gnu/packages/crates-io.scm (rust-coreaudio-sys-0.2): New variable.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbaa3f3c45..0052a40e35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15502,6 +15502,50 @@ (define-public rust-cordic-0.1
numbers using the CORDIC method.")
(license license:bsd-3)))
+(define-public rust-coreaudio-rs-0.10
+ (package
+ (name "rust-coreaudio-rs")
+ (version "0.10.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "coreaudio-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2))))
+ (home-page "https://github.com/RustAudio/coreaudio-rs")
+ (synopsis "A friendly rust interface for Apple's CoreAudio API.")
+ (description
+ "This package provides a friendly rust interface for Apple's CoreAudio API.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-coreaudio-sys-0.2
+ (package
+ (name "rust-coreaudio-sys")
+ (version "0.2.12")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "coreaudio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "091b4sq3kl8n4dy86l4mxq9vjzsn8w8b51xzfcpxwjkciqjv4d7h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.64))))
+ (home-page "https://github.com/RustAudio/coreaudio-sys")
+ (synopsis
+ "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen")
+ (description
+ "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen")
+ (license license:expat)))
+
(define-public rust-core-extensions-1
(package
(name "rust-core-extensions")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 13/64] gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (11 preceding siblings ...)
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 ` Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 14/64] gnu: Add rust-ndk-glue-0.6 Steve George
` (51 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-ndk-0.6): New variable.
* gnu/packages/crates-io.scm (rust-ndk-sys-0.3): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0052a40e35..82150df330 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42842,6 +42842,28 @@ (define-public rust-ndk-0.7
"This package provides safe Rust bindings to the Android NDK.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ndk-0.6
+ (package
+ (inherit rust-ndk-0.7)
+ (name "rust-ndk")
+ (version "0.6.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m1dfjw35qpys1hr4qib6mm3zacd01k439l7cx5f7phd0dzcfci0"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-jni" ,rust-jni-0.18)
+ ("rust-jni-glue" ,rust-jni-glue-0.0)
+ ("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.3)
+ ("rust-num-enum" ,rust-num-enum-0.5)
+ ("rust-thiserror" ,rust-thiserror-1))))))
+
(define-public rust-ndk-0.5
(package
(inherit rust-ndk-0.7)
@@ -43023,6 +43045,19 @@ (define-public rust-ndk-sys-0.4
(description "This package provides FFI bindings for the Android NDK.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ndk-sys-0.3
+ (package
+ (inherit rust-ndk-sys-0.4)
+ (name "rust-ndk-sys")
+ (version "0.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15zsq4p6k5asf4mc0rknd8cz9wxrwvi50qdspgf87qcfgkknlnkf"))))))
+
(define-public rust-ndk-sys-0.2
(package
(inherit rust-ndk-sys-0.4)
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 14/64] gnu: Add rust-ndk-glue-0.6.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (12 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3 Steve George
` (50 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:20 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io-scm (rust-ndk-glue-0.6): New variable.
---
gnu/packages/crates-io.scm | 65 +++++++++++++++++++++++++-------------
1 file changed, 43 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82150df330..3c77308d70 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42929,35 +42929,56 @@ (define-public rust-ndk-context-0.1
"This package provides handles for accessing Android APIs.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ndk-glue-0.5
+(define-public rust-ndk-glue-0.6
(package
(name "rust-ndk-glue")
- (version "0.5.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "ndk-glue" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1m44jh4f9sirs757ikc8sracg6dzw77h9l4bw9vm8s1dly7fw6y7"))))
+ (version "0.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk-glue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pz6cdmmlzsb2jhrfvkma5d5vw2i331dlghqnkk2c0l6hdxll30d"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #true ;XXX: Android only
- #:cargo-inputs
- (("rust-android-logger" ,rust-android-logger-0.10)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-log" ,rust-log-0.4)
- ("rust-ndk" ,rust-ndk-0.5)
- ("rust-ndk-context" ,rust-ndk-context-0.1)
- ("rust-ndk-macro" ,rust-ndk-macro-0.3)
- ("rust-ndk-sys" ,rust-ndk-sys-0.2))))
- (home-page "https://github.com/rust-windowing/android-ndk-rs")
+ (list #:skip-build? #t
+ #:cargo-inputs `(("rust-android-logger" ,rust-android-logger-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ndk" ,rust-ndk-0.6)
+ ("rust-ndk-context" ,rust-ndk-context-0.1)
+ ("rust-ndk-macro" ,rust-ndk-macro-0.3)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.3))))
+ (home-page "https://github.com/rust-mobile/ndk")
(synopsis "Startup code for Android binaries")
- (description
- "This package provides startup code for Android binaries.")
+ (description "This package provides startup code for Android binaries.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ndk-glue-0.5
+ (package
+ (inherit rust-ndk-glue-0.6)
+ (name "rust-ndk-glue")
+ (version "0.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk-glue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m44jh4f9sirs757ikc8sracg6dzw77h9l4bw9vm8s1dly7fw6y7"))))
+ (arguments
+ (list #:skip-build? #t ;XXX: Android only
+ #:cargo-inputs `(("rust-android-logger" ,rust-android-logger-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ndk" ,rust-ndk-0.5)
+ ("rust-ndk-context" ,rust-ndk-context-0.1)
+ ("rust-ndk-macro" ,rust-ndk-macro-0.3)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.2))))))
+
(define-public rust-ndk-glue-0.2
(package
(inherit rust-ndk-glue-0.5)
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (13 preceding siblings ...)
2023-10-23 22:20 ` [bug#66717] [PATCH 14/64] gnu: Add rust-ndk-glue-0.6 Steve George
@ 2023-10-23 22:21 ` 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
` (49 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-fetch-unroll-0.3): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c77308d70..98b6d7207f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25433,6 +25433,31 @@ (define-public rust-fern-0.6
"This package provides a simple, efficient logging system for Rust.")
(license license:expat)))
+(define-public rust-fetch-unroll-0.3
+ (package
+ (name "rust-fetch-unroll")
+ (version "0.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "fetch_unroll" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1l3cf8fhcrw354hdmjf03f5v4bxgn2wkjna8n0fn8bgplh8b3666"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f
+ #:cargo-inputs `(("rust-libflate" ,rust-libflate-1)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-ureq" ,rust-ureq-2))))
+ ; perl required for building rust-ring
+ (inputs (list perl))
+ (home-page "https://github.com/katyo/fetch_unroll")
+ (synopsis "Simple utilities for fetching and unrolling .tar.gz archives")
+ (description
+ "Simple utilities for fetching and unrolling .tar.gz archives.")
+ (license license:asl2.0)))
+
(define-public rust-fever-api-0.2
(package
(name "rust-fever-api")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 16/64] gnu: Add rust-oboe-0.4 and rust-oboe-sys-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (14 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 17/64] gnu: Add rust-stdweb-0.1 Steve George
` (48 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-oboe-0.4): New variable.
* gnu/packages/crates-io.scm (rust-oboe-sys-0.4): New variable.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 98b6d7207f..c94539b7b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46204,6 +46204,57 @@ (define-public rust-object-0.27
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-wasmparser" ,rust-wasmparser-0.57))))))
+(define-public rust-oboe-0.4
+ (package
+ (name "rust-oboe")
+ (version "0.4.6")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "oboe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hd5626s8qkpgrl2alwz73i8rh1rzifbxj6pxz7zp82gicskrxi7"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #t ; requires Android libs
+ #:cargo-inputs `(("rust-jni" ,rust-jni-0.19)
+ ("rust-ndk" ,rust-ndk-0.6)
+ ("rust-ndk-context" ,rust-ndk-context-0.1)
+ ("rust-num-derive" ,rust-num-derive-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-oboe-sys" ,rust-oboe-sys-0.4))))
+ (home-page "https://github.com/katyo/oboe-rs")
+ (synopsis
+ "Safe interface for oboe an android library for low latency audio IO")
+ (description
+ "Safe interface for oboe an android library for low latency audio IO.")
+ (license license:asl2.0)))
+
+(define-public rust-oboe-sys-0.4
+ (package
+ (name "rust-oboe-sys")
+ (version "0.4.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "oboe-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gcl494yy880h2gfgsbdd32g2h0s1n94v58j5hil9mrf6yvsnw1k"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #t ; requires Android libs
+ #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.59)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-fetch-unroll" ,rust-fetch-unroll-0.3))))
+ (home-page "https://github.com/katyo/oboe-rs")
+ (synopsis
+ "Unsafe bindings for oboe an android library for low latency audio IO")
+ (description
+ "Unsafe bindings for oboe an android library for low latency audio IO.")
+ (license license:asl2.0)))
+
(define-public rust-odds-0.3
(package
(name "rust-odds")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 17/64] gnu: Add rust-stdweb-0.1.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (15 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 18/64] gnu: Add rust-bindgen-0.56 Steve George
` (47 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-stdweb-0.1): New variable.
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c94539b7b7..68dd380162 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68181,6 +68181,24 @@ (define-public rust-stdweb-0.4
Web.")
(license (list license:expat license:asl2.0))))
+(define-public rust-stdweb-0.1
+ (package
+ (inherit rust-stdweb-0.4)
+ (name "rust-stdweb")
+ (version "0.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "stdweb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gjk7ch31a3kgdc39kj4zqinf10yqaf717wanh9kwwbbwg430m7g"))))
+ (arguments
+ (list #:skip-build? #t
+ #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-stdweb-derive-0.5
(package
(name "rust-stdweb-derive")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 18/64] gnu: Add rust-bindgen-0.56
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (16 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 17/64] gnu: Add rust-stdweb-0.1 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys Steve George
` (46 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68dd380162..d730dfea37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7468,6 +7468,38 @@ (define-public rust-bindgen-0.57
(inputs
(list clang))))
+(define-public rust-bindgen-0.56
+ (package
+ (inherit rust-bindgen-0.57)
+ (name "rust-bindgen")
+ (version "0.56.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fajmgk2064ca1z9iq1jjkji63qwwz38z3d67kv6xdy0xgdpk8rd"))))
+ (inputs (list clang))
+ (arguments
+ (list #:cargo-test-flags ``("--release" "--" "--skip=test"
+ "commandline_multiple_headers")
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.4)
+ ("rust-clang-sys" ,rust-clang-sys-1)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-shlex" ,rust-shlex-0.1)
+ ("rust-which" ,rust-which-3))))))
+
(define-public rust-bindgen-0.55
(package
(inherit rust-bindgen-0.57)
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (17 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 18/64] gnu: Add rust-bindgen-0.56 Steve George
@ 2023-10-23 22:21 ` 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
` (45 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-asio-sys): New variable.
---
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 d730dfea37..ddaacc4bc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4456,6 +4456,33 @@ (define-public rust-as-derive-utils-0.8
("rust-serde-derive" ,rust-serde-derive-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-asio-sys-0.2
+ (package
+ (name "rust-asio-sys")
+ (version "0.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "asio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16lbavksj2aasadyxbdnbrll6a1m8cwl4skbxgbvr1ma2wpwv82c"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #t
+ #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.56)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-num-derive" ,rust-num-derive-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/RustAudio/cpal/")
+ (synopsis
+ "Low-level interface and binding generation for the Steinberg ASIO SDK")
+ (description
+ "Low-level interface and binding generation for the Steinberg ASIO SDK.")
+ (license license:asl2.0)))
+
(define-public rust-askama-escape-0.10
(package
(name "rust-askama-escape")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 20/64] gnu: Add rust-jack-0.8 and rust-jack-sys-0.2.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (18 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 21/64] gnu: Add rust-hound-3 Steve George
` (44 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-jack-0.8): New variable.
* gnu/packages/crates-io.scm (rust-jack-sys-0.2): New variable.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ddaacc4bc0..792ed5262a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59,6 +59,7 @@ (define-module (gnu packages crates-io)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
+ #:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages avahi)
#:use-module (gnu packages bash)
@@ -35122,6 +35123,56 @@ (define-public rust-ivf-0.1
(description "This package provides a simple ivf muxer.")
(license license:bsd-2)))
+(define-public rust-jack-0.8
+ (package
+ (name "rust-jack")
+ (version "0.8.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "jack" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-jack-sys" ,rust-jack-sys-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))
+ (inputs (list jack-2))
+ (home-page "https://github.com/RustAudio/rust-jack")
+ (synopsis "Rust bindings for the JACK low-latency audio and MIDI system")
+ (description "This package provides bindings for the JACK low-latency
+and MIDI audio server.")
+ (license license:expat)))
+
+(define-public rust-jack-sys-0.2
+ (package
+ (name "rust-jack-sys")
+ (version "0.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "jack-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1h9c9za19nyr1prx77gkia18ia93f73lpyjdiyrvmhhbs79g54bv"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.6)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs (list jack-2))
+ (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
+ (synopsis "Low-level bindings to the JACK audio API")
+ (description "Low-level bindings to the JACK audio API.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-javascriptcore-rs-sys-0.2
(package
(name "rust-javascriptcore-rs-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 21/64] gnu: Add rust-hound-3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (19 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 22/64] gnu: Update rust-cache-padded-1 to 1.3.0 Steve George
` (43 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-hound-3): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 792ed5262a..4d8514fa67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31808,6 +31808,25 @@ (define-public rust-hostname-0.1
(("rust-libc" ,rust-libc-0.2)
("rust-winutil" ,rust-winutil-0.1))))))
+(define-public rust-hound-3
+ (package
+ (name "rust-hound")
+ (version "3.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "hound" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cadkxzdsb3bxwzri6r6l78a1jy9j0jxrfwmh34gjadvbnyws4sd"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #t)) ; building source opens up a big dependency tree
+ (home-page "https://github.com/ruuda/hound")
+ (synopsis "A wav encoding and decoding library")
+ (description "This package provides a wav encoding and decoding library.")
+ (license license:asl2.0)))
+
(define-public rust-html5ever-0.26
(package
(name "rust-html5ever")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 22/64] gnu: Update rust-cache-padded-1 to 1.3.0.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (20 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 21/64] gnu: Add rust-hound-3 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 23/64] gnu: Add rust-ringbuf-0.2 Steve George
` (42 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-cache-padded-1): Update to 1.3.0.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d8514fa67..ac5042d204 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10692,14 +10692,14 @@ (define-public rust-c2-chacha-0.2
(define-public rust-cache-padded-1
(package
(name "rust-cache-padded")
- (version "1.1.1")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "cache-padded" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1fkdwv9vjazm6fs3s5v56mm4carwswdmw8fcwm9ygrcvihcya6k3"))))
+ (base32 "08gb1407k0cvhfllgg06j45r0lv99qrmraf19mccqbs2iz4j05cq"))))
(build-system cargo-build-system)
(home-page "https://github.com/stjepang/cache-padded")
(synopsis "Prevent once piece of data invalidating other cached data")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 23/64] gnu: Add rust-ringbuf-0.2.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (21 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 24/64] gnu: Add rust-cpal-0.13 Steve George
` (41 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-ringbuf-0.2): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac5042d204..5bba947109 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57831,6 +57831,28 @@ (define-public rust-ring-0.13
(lambda _
(invoke "python" "make_curve25519_tables.py")))))))))))
+(define-public rust-ringbuf-0.2
+ (package
+ (name "rust-ringbuf")
+ (version "0.2.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ringbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18n2qmbvvxj9s775p6q2dv5s68ndbpvb7fr3mx5fg2gpa26z2npn"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-cache-padded" ,rust-cache-padded-1))))
+ (home-page "https://github.com/agerasev/ringbuf")
+ (synopsis
+ "Lock-free SPSC FIFO ring buffer with direct access to inner data")
+ (description
+ "Lock-free SPSC (Single Producer, Single Consumer)
+FIFO (First In, First Out) ring buffer with direct access to inner data.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ripemd-0.1
(package
(name "rust-ripemd")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 24/64] gnu: Add rust-cpal-0.13.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (22 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 23/64] gnu: Add rust-ringbuf-0.2 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4 Steve George
` (40 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm(rust-cpal-0.13): New variable.
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5bba947109..93c9dfee10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16108,6 +16108,53 @@ (define-public rust-countme-3
"This package provides a counts the number of live instances of types.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cpal-0.13
+ (package
+ (name "rust-cpal")
+ (version "0.13.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cpal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05j11vz8rw19gqqvpd48i7wvm6j77v8fwx5lwhlkckqjllv7h4bl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-alsa" ,rust-alsa-0.6)
+ ("rust-asio-sys" ,rust-asio-sys-0.2)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-coreaudio-rs" ,rust-coreaudio-rs-0.10)
+ ("rust-jack" ,rust-jack-0.8)
+ ("rust-jni" ,rust-jni-0.19)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-ndk" ,rust-ndk-0.6)
+ ("rust-ndk-glue" ,rust-ndk-glue-0.6)
+ ("rust-nix" ,rust-nix-0.23)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-oboe" ,rust-oboe-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-stdweb" ,rust-stdweb-0.1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-hound" ,rust-hound-3)
+ ("rust-ringbuf" ,rust-ringbuf-0.2))))
+ (native-inputs (list pkg-config))
+ (inputs (list alsa-lib))
+ (home-page "https://github.com/rustaudio/cpal")
+ (synopsis "Low-level cross-platform audio I/O library in pure Rust")
+ (description "Low-level cross-platform audio I/O library in pure Rust.
+Supports Linux through either JACK or ALSA.")
+ (license license:asl2.0)))
+
(define-public rust-cpp-demangle-0.4
(package
(name "rust-cpp-demangle")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (23 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 24/64] gnu: Add rust-cpal-0.13 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1 Steve George
` (39 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-option-operations-0.4): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 93c9dfee10..9cf11d32cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47065,6 +47065,27 @@ (define-public rust-option-ext-0.2
(description "Extends `Option` with additional operations")
(license license:mpl2.0)))
+(define-public rust-option-operations-0.4
+ (package
+ (name "rust-option-operations")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "option-operations" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))
+ (home-page "https://github.com/fengalin/option-operations")
+ (synopsis "Improved arithmetic operations when dealing with Rust Options")
+ (description
+ "Traits and auto-implementations to improve arithmetic operations
+usability when dealing with Rust Options.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-option-set-0.2
(package
(name "rust-option-set")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (24 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex Steve George
` (38 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-muldiv-1): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9cf11d32cb..483b9eea96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41865,6 +41865,27 @@ (define-public rust-mp4-0.9
(description "mp4 is a Rust library to read and write ISO-MP4 files.")
(license license:expat)))
+(define-public rust-muldiv-1
+ (package
+ (name "rust-muldiv")
+ (version "1.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "muldiv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1))))
+ (home-page "https://github.com/sdroege/rust-muldiv")
+ (synopsis "Trait for numeric types to combine multiplication and division")
+ (description
+ "This package provides a trait for numeric types to perform combined
+multiplication and division with overflow protection.")
+ (license license:expat)))
+
(define-public rust-multimap-0.8
(package
(name "rust-multimap")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (25 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18 Steve George
` (37 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-pretty-hex): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 483b9eea96..bfc7e46022 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52500,6 +52500,25 @@ (define-public rust-prettyplease-0.1
"This package provides a minimal `syn` syntax tree pretty-printer.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pretty-hex-0.3
+ (package
+ (name "rust-pretty-hex")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty-hex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))
+ (home-page "https://github.com/wolandr/pretty-hex")
+ (synopsis "Prettified output of hexadecimal byte slices")
+ (description "Pretty hex dump of byte slices in the common style.")
+ (license license:expat)))
+
(define-public rust-prettytable-rs-0.8
(package
(name "rust-prettytable-rs")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (26 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 29/64] gnu: Add rust-gstreamer-0.18 Steve George
` (36 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfc7e46022..90dff03fa5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76,6 +76,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
@@ -30239,6 +30240,33 @@ (define-public rust-groupable-0.2
"This package aggregates groups of values from key-value iterators.")
(license license:expat)))
+(define-public rust-gstreamer-sys-0.18
+ (package
+ (name "rust-gstreamer-sys")
+ (version "0.18.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstreamer-1.0")
+ (description
+ "Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
+ (license license:expat)))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 29/64] gnu: Add rust-gstreamer-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (27 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18 Steve George
` (35 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-0.18): New variable.
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90dff03fa5..5ba39826f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30267,6 +30267,51 @@ (define-public rust-gstreamer-sys-0.18
"Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-0.18
+ (package
+ (name "rust-gstreamer")
+ (version "0.18.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:tests? #f
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-muldiv" ,rust-muldiv-1)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-option-operations" ,rust-option-operations-0.4)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ `(("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer")
+ (description "Rust bindings for GStreamer.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (28 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 29/64] gnu: Add rust-gstreamer-0.18 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 31/64] gnu: Add rust-gstreamer-base-0.18 Steve George
` (34 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-base-sys-0.18): New variable.
---
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 5ba39826f1..73d585e413 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30240,6 +30240,33 @@ (define-public rust-groupable-0.2
"This package aggregates groups of values from key-value iterators.")
(license license:expat)))
+(define-public rust-gstreamer-base-sys-0.18
+ (package
+ (name "rust-gstreamer-base-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstbase-1.0")
+ (description "FFI bindings to libgstbase-1.0, part of GStreamer.")
+ (license license:expat)))
+
(define-public rust-gstreamer-sys-0.18
(package
(name "rust-gstreamer-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 31/64] gnu: Add rust-gstreamer-base-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (29 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 32/64] gnu: Add rust-gstreamer-app-sys-0.18 Steve George
` (33 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-base-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73d585e413..cf35ce311a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30267,6 +30267,34 @@ (define-public rust-gstreamer-base-sys-0.18
(description "FFI bindings to libgstbase-1.0, part of GStreamer.")
(license license:expat)))
+(define-public rust-gstreamer-base-0.18
+ (package
+ (name "rust-gstreamer-base")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Base library")
+ (description "Rust bindings for GStreamer Base library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-sys-0.18
(package
(name "rust-gstreamer-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 32/64] gnu: Add rust-gstreamer-app-sys-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (30 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 31/64] gnu: Add rust-gstreamer-base-0.18 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 33/64] gnu: Add rust-gstreamer-app-0.18 Steve George
` (32 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-app-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf35ce311a..edd069f276 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30367,6 +30367,34 @@ (define-public rust-gstreamer-0.18
(description "Rust bindings for GStreamer.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-app-sys-0.18
+ (package
+ (name "rust-gstreamer-app-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-app-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fsgdb3b23s45xc7s06xw96x7avza0jpyj02x1fkw6vk3pr03d63"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstapp-1.0")
+ (description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
+ (license license:expat)))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 33/64] gnu: Add rust-gstreamer-app-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (31 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2 Steve George
` (31 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-app-0.18): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edd069f276..d7edc49fb6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30395,6 +30395,39 @@ (define-public rust-gstreamer-app-sys-0.18
(description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-app-0.18
+ (package
+ (name "rust-gstreamer-app")
+ (version "0.18.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-app" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "115nykpdvfccyzvfi73qkhn061f6rdyhcaj9ajnw2ik5pimdyjk6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-app-sys" ,rust-gstreamer-app-sys-0.18)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer App library")
+ (description "Rust bindings for the GStreamer App library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (32 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 33/64] gnu: Add rust-gstreamer-app-0.18 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 35/64] gnu: Add rust-gstreamer-audio-sys-0.18 Steve George
` (30 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-array-init-2): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d7edc49fb6..8c21940432 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4088,6 +4088,28 @@ (define-public rust-arr-macro-0.1
do not implement the copy or default traits.")
(license (list license:expat license:asl2.0))))
+(define-public rust-array-init-2
+ (package
+ (name "rust-array-init")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "array-init" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z0bh6grrkxlbknq3xyipp42rasngi806y92fiddyb2n99lvfqix"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f))
+ (home-page "https://github.com/Manishearth/array-init/")
+ (synopsis "Safe wrapper for initializing fixed-size arrays")
+ (description
+ "A crate that removes the need to fill an array before running
+initialisers. Provides an init closure that's called for each element of the
+array.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-array-macro-1
(package
(name "rust-array-macro")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 35/64] gnu: Add rust-gstreamer-audio-sys-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (33 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18 Steve George
` (29 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-audio-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8c21940432..1202dd09ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30450,6 +30450,37 @@ (define-public rust-gstreamer-app-0.18
(description "Rust bindings for the GStreamer App library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-audio-sys-0.18
+ (package
+ (name "rust-gstreamer-audio-sys")
+ (version "0.18.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstaudio-1.0")
+ (description "FFI bindings to libgstaudio, part of Gstreamer.")
+ (license license:expat)))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (34 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 37/64] gnu: Add rust-jack-sys-0.4 Steve George
` (28 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-gstreamer-audio-0.18): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1202dd09ca..b351be6ecb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30481,6 +30481,38 @@ (define-public rust-gstreamer-audio-sys-0.18
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-audio-0.18
+ (package
+ (name "rust-gstreamer-audio")
+ (version "0.18.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-itertools" ,rust-itertools-0.10))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for the GStreamer Audio library")
+ (description "Rust bindings for the GStreamer Audio library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 37/64] gnu: Add rust-jack-sys-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (35 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10 Steve George
` (27 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-jack-sys-0.4): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b351be6ecb..5eee503436 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35490,8 +35490,35 @@ (define-public rust-jack-0.8
and MIDI audio server.")
(license license:expat)))
+(define-public rust-jack-sys-0.4
+ (package
+ (name "rust-jack-sys")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jack-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17vaq4i8q5nx39rjqx9sixqn1xraf1vxs3bmrf618v8nzxchbmz9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list jack-2))
+ (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
+ (synopsis "Low-level binding to the JACK audio API")
+ (description "Low-level binding to the JACK audio API.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-jack-sys-0.2
(package
+ (inherit rust-jack-sys-0.4)
(name "rust-jack-sys")
(version "0.2.3")
(source (origin
@@ -35506,12 +35533,7 @@ (define-public rust-jack-sys-0.2
(list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-libloading" ,rust-libloading-0.6)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
- (inputs (list jack-2))
- (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
- (synopsis "Low-level bindings to the JACK audio API")
- (description "Low-level bindings to the JACK audio API.")
- (license (list license:expat license:asl2.0))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-javascriptcore-rs-sys-0.2
(package
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (36 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 37/64] gnu: Add rust-jack-sys-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 39/64] gnu: rust-libpulse-sys-1: Update to v1.21.0 Steve George
` (26 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-jack-0.10): New variable.
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++---------
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5eee503436..eb6509c837 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35463,8 +35463,38 @@ (define-public rust-ivf-0.1
(description "This package provides a simple ivf muxer.")
(license license:bsd-2)))
+(define-public rust-jack-0.10
+ (package
+ (name "rust-jack")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jack" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0djs3j0icxbzbivhj73vgjrvjw6ncpfak2vyxjcbn4wvl9ajcwnf"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f
+ #:cargo-inputs
+ `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-jack-sys" ,rust-jack-sys-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4))
+ #:cargo-development-inputs
+ `(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))
+ (native-inputs (list pkg-config))
+ (inputs (list jack-2))
+ (home-page "https://github.com/RustAudio/rust-jack")
+ (synopsis "Real time audio and midi with JACK")
+ (description "Real time audio and midi with JACK.")
+ (license license:expat)))
+
(define-public rust-jack-0.8
(package
+ (inherit rust-jack-0.10)
(name "rust-jack")
(version "0.8.4")
(source (origin
@@ -35474,7 +35504,6 @@ (define-public rust-jack-0.8
(sha256
(base32
"0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx"))))
- (build-system cargo-build-system)
(arguments
(list #:tests? #f
#:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
@@ -35482,13 +35511,7 @@ (define-public rust-jack-0.8
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
- ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))
- (inputs (list jack-2))
- (home-page "https://github.com/RustAudio/rust-jack")
- (synopsis "Rust bindings for the JACK low-latency audio and MIDI system")
- (description "This package provides bindings for the JACK low-latency
-and MIDI audio server.")
- (license license:expat)))
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))))
(define-public rust-jack-sys-0.4
(package
@@ -35508,7 +35531,7 @@ (define-public rust-jack-sys-0.4
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-libloading" ,rust-libloading-0.7)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs (list pkg-config))
(inputs (list jack-2))
(home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 39/64] gnu: rust-libpulse-sys-1: Update to v1.21.0
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (37 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1 Steve George
` (25 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-libpulse-sys-1): Update to v1.21.0.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb6509c837..782df19e49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37855,7 +37855,7 @@ (define-public rust-libpulse-binding-2
(define-public rust-libpulse-sys-1
(package
(name "rust-libpulse-sys")
- (version "1.18.0")
+ (version "1.21.0")
(source
(origin
(method url-fetch)
@@ -37864,7 +37864,7 @@ (define-public rust-libpulse-sys-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "10msfr8f951v86ag0fl2bsm4a3siq2r7hz9bqhhg7i234s1yj5yg"))))
+ "16vs0qk6xadckb5qxlrhg0f4jn2zakfd7xih1lk1fb7lzc8f26dw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (38 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 41/64] gnu: rust-libpulse-binding-2: Update to 2.28.1 Steve George
` (24 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-libpulse-simple-sys-1): New variable.
---
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 782df19e49..67506df3f7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37852,6 +37852,30 @@ (define-public rust-libpulse-binding-2
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-libpulse-simple-sys-1
+ (package
+ (name "rust-libpulse-simple-sys")
+ (version "1.21.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-simple-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis
+ "FFI indings for PulseAudio's libpulse-simple system library")
+ (description
+ "FFI bindings for the PulseAudio libpulse-simple system library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libpulse-sys-1
(package
(name "rust-libpulse-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 41/64] gnu: rust-libpulse-binding-2: Update to 2.28.1
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (39 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 42/64] gnu Add rust-libpulse-simple-binding-2 Steve George
` (23 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-libpulse-binding-2): Update to 2.28.1
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67506df3f7..d769c02cdd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37818,7 +37818,7 @@ (define-public rust-libpijul-0.12
(define-public rust-libpulse-binding-2
(package
(name "rust-libpulse-binding")
- (version "2.23.1")
+ (version "2.28.1")
(source
(origin
(method url-fetch)
@@ -37827,7 +37827,7 @@ (define-public rust-libpulse-binding-2
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1qx85j489mmad9cvw5k71271l3qy4s8a5qq8a9wac6cfi4viz5fv"))))
+ "1zza12f22wf1qs6h71lq1i73aj3kmv3036hqc7qci063vyi5fdgd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 42/64] gnu Add rust-libpulse-simple-binding-2.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (40 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1 Steve George
` (22 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-libpulse-simple-binding-2): New variable.
---
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 d769c02cdd..6304208bdb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37852,6 +37852,32 @@ (define-public rust-libpulse-binding-2
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-libpulse-simple-binding-2
+ (package
+ (name "rust-libpulse-simple-binding")
+ (version "2.28.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-simple-binding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2)
+ ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1)
+ ("rust-libpulse-sys" ,rust-libpulse-sys-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis
+ "Rust language bindings for PulseAudio's libpulse-simple library")
+ (description
+ "A Rust language binding for the PulseAudio libpulse-simple library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libpulse-simple-sys-1
(package
(name "rust-libpulse-simple-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (41 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 42/64] gnu Add rust-libpulse-simple-binding-2 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 44/64] gnu: Add rust-portaudio-rs-0.3 Steve George
` (21 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-portaudio-sys-0.1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6304208bdb..67f7b0dd5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52280,6 +52280,29 @@ (define-public rust-portable-atomic-1
128-bit atomics, atomic float, etc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-portaudio-sys-0.1
+ (package
+ (name "rust-portaudio-sys")
+ (version "0.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "portaudio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list portaudio alsa-lib))
+ (home-page "https://github.com/RustAudio/rust-portaudio.git")
+ (synopsis "Bindings for PortAudio a cross-platform audio library")
+ (description "Bindings for PortAudio an open source, cross-platform
+audio I/O library.")
+ (license license:expat)))
+
(define-public rust-postgres-0.19
(package
(name "rust-postgres")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 44/64] gnu: Add rust-portaudio-rs-0.3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (42 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 45/64] gnu: Add rust-ogg-0.5 Steve George
` (20 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-portaudio-rs-0.3): New variable.
-- >8 --
Skipping build because an update to the PortAudio library is requred. Started
looking at, this but it expanded the patch stack to require changes in
audio dependencies which I'm not comfortable making.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67f7b0dd5c..eeea310bd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52280,6 +52280,29 @@ (define-public rust-portable-atomic-1
128-bit atomics, atomic float, etc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-portaudio-rs-0.3
+ (package
+ (name "rust-portaudio-rs")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "portaudio-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;requires an update to PortAudio library
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-portaudio-sys" ,rust-portaudio-sys-0.1))))
+ (home-page "https://github.com/RustAudio/rust-portaudio.git")
+ (synopsis "Rust bindings for PortAudio a cross-platfomr audio library")
+ (description "Rusting bindings for PortAudio an open source, cross-platform
+audio I/O library.")
+ (license license:expat)))
+
(define-public rust-portaudio-sys-0.1
(package
(name "rust-portaudio-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 45/64] gnu: Add rust-ogg-0.5.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (43 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 44/64] gnu: Add rust-portaudio-rs-0.3 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 46/64] gnu: Add rust-mp4parse-0.8 Steve George
` (19 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-ogg-0.5): New version.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eeea310bd6..b0e02f947a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46904,6 +46904,19 @@ (define-public rust-ogg-0.8
spec in pure Rust.")
(license license:expat)))
+(define-public rust-ogg-0.5
+ (package
+ (inherit rust-ogg-0.8)
+ (name "rust-ogg")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ogg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1sg29xkg332s3cqj7axawvnzv7nfldk7f853c2xa1a006d1yb39z"))))))
+
(define-public rust-oid-registry-0.6
(package
(name "rust-oid-registry")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 46/64] gnu: Add rust-mp4parse-0.8.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (44 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 45/64] gnu: Add rust-ogg-0.5 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 47/64] gnu: Add rust-claxon-0.4 Steve George
` (18 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-mp4parse-0.8): New variable.
---
gnu/packages/crates-graphics.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 22b77121e9..e4876be98c 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1767,6 +1767,20 @@ (define-public rust-mp4parse-0.12
(description "Parser for ISO base media file format (mp4)")
(license license:mpl2.0)))
+(define-public rust-mp4parse-0.8
+ (package
+ (inherit rust-mp4parse-0.12)
+ (name "rust-mp4parse")
+ (version "0.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "mp4parse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pqsv1zm5x9nnkjrv25qv2yg6ba4dny6bsy6cfdzrdm8kwg2r54r"))))
+ (arguments
+ `(#:skip-build? #t))))
+
(define-public rust-osmesa-sys-0.1
(package
(name "rust-osmesa-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 47/64] gnu: Add rust-claxon-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (45 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 46/64] gnu: Add rust-mp4parse-0.8 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3 Steve George
` (17 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-claxon-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b0e02f947a..133c91bc2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12641,6 +12641,31 @@ (define-public rust-clang-sys-1
(description "This package provides Rust bindings for libclang.")
(license license:asl2.0)))
+(define-public rust-claxon-0.4
+ (package
+ (name "rust-claxon")
+ (version "0.4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "claxon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1206mxvw833ysg10029apcsjjwly8zmsvksgza5cm7ma4ikzbysb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;mp4parse has to be changed to build
+ #:cargo-development-inputs
+ (("rust-hound" ,rust-hound-3)
+ ("rust-mp4parse" ,rust-mp4parse-0.8)
+ ("rust-ogg" ,rust-ogg-0.5)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-walkdir" ,rust-walkdir-1))))
+ (home-page "https://github.com/ruuda/claxon#readme")
+ (synopsis "A FLAC decoding library")
+ (description "This package provides a FLAC decoding library.")
+ (license license:asl2.0)))
+
(define-public rust-cipher-0.4
(package
(name "rust-cipher")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (46 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 47/64] gnu: Add rust-claxon-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3 Steve George
` (16 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-slice-deque-0.3): New variable.
---
gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 133c91bc2a..d6f8da38c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66937,23 +66937,24 @@ (define-public rust-sleef-sys-0.1
"Rust FFI bindings to the SLEEF Vectorized Math Library.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-slice-deque-0.2
+(define-public rust-slice-deque-0.3
(package
(name "rust-slice-deque")
- (version "0.2.4")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "slice-deque" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mq78l0vfwabnyanb85amgzakfhdaxx455yq6cszd5zmynagbpgz"))))
+ (base32
+ "098gvqjw52qw4gac567c9hx3y6hw9al7hjqb5mnvmvydh3i6xvri"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build? #f
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-mach" ,rust-mach-0.2)
+ ("rust-mach" ,rust-mach-0.3)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/gnzlbg/slice_deque")
(synopsis "Double-ended queue that Deref's into a slice")
@@ -66961,6 +66962,25 @@ (define-public rust-slice-deque-0.2
"This package provides a double-ended queue that Deref's into a slice.")
(license (list license:expat license:asl2.0))))
+(define-public rust-slice-deque-0.2
+ (package
+ (inherit rust-slice-deque-0.3)
+ (name "rust-slice-deque")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slice-deque" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mq78l0vfwabnyanb85amgzakfhdaxx455yq6cszd5zmynagbpgz"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-mach" ,rust-mach-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-slog-2
(package
(name "rust-slog")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (47 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5 Steve George
` (15 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-minimp3-sys-0.3): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6f8da38c8..6c98d5e010 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages mail)
+ #:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
#:use-module (gnu packages pcre)
@@ -41673,6 +41674,28 @@ (define-public rust-minimal-lexical-0.2
float parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-minimp3-sys-0.3
+ (package
+ (name "rust-minimp3-sys")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "minimp3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "144vmf3s89kad0smjprzigcp2c9r5dm95n4ydilrbp399irp6772"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-cc" ,rust-cc-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list minimp3))
+ (home-page "https://github.com/germangb/minimp3-rs.git")
+ (synopsis "Rust bindings for the minimp3 library")
+ (description "Rust bindings for the minimp3 library.")
+ (license license:expat)))
+
(define-public rust-miniz-oxide-0.7
(package
(name "rust-miniz-oxide")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (48 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 51/64] gnu: Add rust-symphonia-core-0.4 Steve George
` (14 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-minimp3-0.5): New variable.
---
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 6c98d5e010..411358481f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41674,6 +41674,30 @@ (define-public rust-minimal-lexical-0.2
float parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-minimp3-0.5
+ (package
+ (name "rust-minimp3")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "minimp3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wj3nzj1swnvwsk3a4a3hkfj1d21jsi7babi40wlrxzbbzvkhm4q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:tests? #f
+ #:cargo-inputs (("rust-minimp3-sys" ,rust-minimp3-sys-0.3)
+ ("rust-slice-deque" ,rust-slice-deque-0.3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/germangb/minimp3-rs.git")
+ (synopsis "Rust bindings for the minimp3 library")
+ (description "Rust bindings for the minimp3 library.")
+ (license license:expat)))
+
(define-public rust-minimp3-sys-0.3
(package
(name "rust-minimp3-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 51/64] gnu: Add rust-symphonia-core-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (49 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4 Steve George
` (13 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-core-0.4): New variable.
---
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 411358481f..f517494810 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70585,6 +70585,33 @@ (define-public rust-swayipc-types-1
interface")
(license license:expat)))
+(define-public rust-symphonia-core-0.4
+ (package
+ (name "rust-symphonia-core")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j84q4a9p9qa23976spxap9s6ns3fm6fzrfz65n6cjhgpsbmw4zs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Shared elements for Symphonia a Rust audio library")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing
+library supporting a wide range of audio formats. This package contains
+shared structs, traits, and features.")
+ (license license:mpl2.0)))
+
(define-public rust-syn-2
(package
(name "rust-syn")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (50 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 51/64] gnu: Add rust-symphonia-core-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 53/64] gnu: Add rust-symphonia-utils-xiph-0.4 Steve George
` (12 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-metadata-0.4): New variable.
---
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 f517494810..5f90cab047 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70612,6 +70612,30 @@ (define-public rust-symphonia-core-0.4
shared structs, traits, and features.")
(license license:mpl2.0)))
+(define-public rust-symphonia-metadata-0.4
+ (package
+ (name "rust-symphonia-metadata")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-metadata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06lvwy24kirc84r6d23ncad544525fsb6gna0plqz3d1mffmjq2j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Multimedia tag and metadata readers for the Symphonia library.")
+ (description "Symphonia is a pure Rust audio decoding and media demuxing
+library supporting a wide range of audio formats. This package contains
+multimedia tag and metadata readers.")
+ (license license:mpl2.0)))
+
(define-public rust-syn-2
(package
(name "rust-syn")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 53/64] gnu: Add rust-symphonia-utils-xiph-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (51 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 54/64] gnu: Add rust-symphonia-bundle-flac-0.4 Steve George
` (11 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-utils-xiph-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f90cab047..e7e86f37ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70636,6 +70636,29 @@ (define-public rust-symphonia-metadata-0.4
multimedia tag and metadata readers.")
(license license:mpl2.0)))
+(define-public rust-symphonia-utils-xiph-0.4
+ (package
+ (name "rust-symphonia-utils-xiph")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-utils-xiph" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sg1y7s607rk1akrrzyhdsqimiwwaw440jzr1cp89zs8d5n04dva"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Xiph codecs and formats for Rust's Symphonia")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing
+library that supports a wide range of audio formats. This package contains Xiph
+codecs and formats.")
+ (license license:mpl2.0)))
+
(define-public rust-syn-2
(package
(name "rust-syn")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 54/64] gnu: Add rust-symphonia-bundle-flac-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (52 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4 Steve George
` (10 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-bundle-flac-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7e86f37ce..c3db3f8741 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70585,6 +70585,31 @@ (define-public rust-swayipc-types-1
interface")
(license license:expat)))
+(define-public rust-symphonia-bundle-flac-0.4
+ (package
+ (name "rust-symphonia-bundle-flac")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-bundle-flac" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00jxn9izfg1g07srhgglpqgadmzwsr88sqnnxw3mskpvyl958vhi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)
+ ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "FLAC demuxer and decoder for the Symphonia library")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing library
+supporting a wide range of audio formats. This package contains a FLAC demuxer
+and decoder.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-core-0.4
(package
(name "rust-symphonia-core")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (53 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 56/64] gnu: Add rust-symphonia-codec-aac-0.4 Steve George
` (9 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-bundle-mp3-0.4): New variable.
---
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 c3db3f8741..c50da37f2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70661,6 +70661,33 @@ (define-public rust-symphonia-metadata-0.4
multimedia tag and metadata readers.")
(license license:mpl2.0)))
+(define-public rust-symphonia-bundle-mp3-0.4
+ (package
+ (name "rust-symphonia-bundle-mp3")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-bundle-mp3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14074njhgrcgh2p5iryrd68mgdzcxf9v7p8xfm8ldkhylv29fkgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "MP1, MP2, and MP3 demuxers and decoders written in pure Rust.")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing
+library supporting a wide range of aduio formats. This package contains
+support for MP1, MP2 and MP3.")
+ (license license:mpl2.0)))
+
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 56/64] gnu: Add rust-symphonia-codec-aac-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (54 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4 Steve George
` (8 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-codec-aac-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c50da37f2a..91d11bfd06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70687,6 +70687,29 @@ (define-public rust-symphonia-bundle-mp3-0.4
support for MP1, MP2 and MP3.")
(license license:mpl2.0)))
+(define-public rust-symphonia-codec-aac-0.4
+ (package
+ (name "rust-symphonia-codec-aac")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-codec-aac" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13smaxgb1jadl4jyay7hixqgwaiqrjvsvmzdvlbdzdxrgsrplgdx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Pure Rust AAC decoder from Symphonia")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats. This package contains an AAC
+decoder.")
+ (license license:mpl2.0)))
(define-public rust-symphonia-utils-xiph-0.4
(package
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (55 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4 Steve George
` (7 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-code-pcm-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 91d11bfd06..bde9fe2e4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70711,6 +70711,29 @@ (define-public rust-symphonia-codec-aac-0.4
decoder.")
(license license:mpl2.0)))
+(define-public rust-symphonia-codec-pcm-0.4
+ (package
+ (name "rust-symphonia-codec-pcm")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-codec-pcm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1is49qjnfy541zpgzz498hnpz0nsq7i4nfky2133b6aqhxrm87ds"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Pure Rust PCM audio decoder, part of Symphonia")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats. This package contains a
+@acronym{PCM, Pulse-Code Modulation} audio decoder.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (56 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 59/64] gnu: Add rust-symphonia-format-iosmp4-0.4 Steve George
` (6 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-codec-vorbis-0.4): New variable.
---
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 bde9fe2e4b..f6616ed175 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70734,6 +70734,30 @@ (define-public rust-symphonia-codec-pcm-0.4
@acronym{PCM, Pulse-Code Modulation} audio decoder.")
(license license:mpl2.0)))
+(define-public rust-symphonia-codec-vorbis-0.4
+ (package
+ (name "rust-symphonia-codec-vorbis")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-codec-vorbis" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yj1si92fnnzdfkw27cq324h6y1s958s8r2hl0szpvvqh1sdd7m2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Pure Rust Vorbis decoder, part of the Symphonia project")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats. This package is a Vorbis
+decoder.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 59/64] gnu: Add rust-symphonia-format-iosmp4-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (57 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 60/64] gnu: Add rust-symphonia-format-ogg-0.4 Steve George
` (5 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-format-isomp4-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6616ed175..6f989e5096 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70758,6 +70758,31 @@ (define-public rust-symphonia-codec-vorbis-0.4
decoder.")
(license license:mpl2.0)))
+(define-public rust-symphonia-format-isomp4-0.4
+ (package
+ (name "rust-symphonia-format-isomp4")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-format-isomp4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dap5yh286j74sybjsam378v1jxkpdl3hvvm81sipv7725vkmvpy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Rust ISO/MP4 demuxer from the Symphonia project")
+ (description
+ "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats. This package contains an
+ISO/MP4 demuxer.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 60/64] gnu: Add rust-symphonia-format-ogg-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (58 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4 Steve George
` (4 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-format-ogg-0.4): New variable.
---
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 6f989e5096..4b92adf9b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70783,6 +70783,30 @@ (define-public rust-symphonia-format-isomp4-0.4
ISO/MP4 demuxer.")
(license license:mpl2.0)))
+(define-public rust-symphonia-format-ogg-0.4
+ (package
+ (name "rust-symphonia-format-ogg")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-format-ogg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06d5327m4yk8a6yq7zzyiv2sbkwnjq28dz9cagndz6m7i1r3bcnp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)
+ ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "Pure Rust OGG demuxer, part of Symphonia")
+ (description
+ "Symphonia is a pure Rust decoding and media demuxing library that
+supports a wide range of audio formats. This package is an OGG demuxer.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (59 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 62/64] gnu: rust-symphonia-0.4 Steve George
` (3 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-format-wav-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b92adf9b5..cd62ba56b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70807,6 +70807,29 @@ (define-public rust-symphonia-format-ogg-0.4
supports a wide range of audio formats. This package is an OGG demuxer.")
(license license:mpl2.0)))
+(define-public rust-symphonia-format-wav-0.4
+ (package
+ (name "rust-symphonia-format-wav")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia-format-wav" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b8x213s44xis4pb1ibnqr1a20hsxf3phm527dvadpi0nkjsb7vd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis "A Rust WAV demuxer from the Symphonia project")
+ (description
+ "Symphonia is a pure Rust decoding and media demuxing library that
+supports a wide range of audio formats. This package is a WAV demuxer.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-utils-xiph-0.4
(package
(name "rust-symphonia-utils-xiph")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 62/64] gnu: rust-symphonia-0.4.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (60 preceding siblings ...)
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 ` Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 63/64] gnu: Add rust-rodio-0.15 Steve George
` (2 subsequent siblings)
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-symphonia-0.4): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cd62ba56b3..5f1b2f6cb5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70585,6 +70585,38 @@ (define-public rust-swayipc-types-1
interface")
(license license:expat)))
+(define-public rust-symphonia-0.4
+ (package
+ (name "rust-symphonia")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "symphonia" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dx4v5libbksi4rd6b9290nci3h8xqyakymhxd72yybyl25g7rd7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-symphonia-bundle-flac" ,rust-symphonia-bundle-flac-0.4)
+ ("rust-symphonia-bundle-mp3" ,rust-symphonia-bundle-mp3-0.4)
+ ("rust-symphonia-codec-aac" ,rust-symphonia-codec-aac-0.4)
+ ("rust-symphonia-codec-pcm" ,rust-symphonia-codec-pcm-0.4)
+ ("rust-symphonia-codec-vorbis" ,rust-symphonia-codec-vorbis-0.4)
+ ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+ ("rust-symphonia-format-isomp4" ,rust-symphonia-format-isomp4-0.4)
+ ("rust-symphonia-format-ogg" ,rust-symphonia-format-ogg-0.4)
+ ("rust-symphonia-format-wav" ,rust-symphonia-format-wav-0.4)
+ ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+ (home-page "https://github.com/pdeljanov/Symphonia")
+ (synopsis
+ "Symphonia is a pure Rust media container and audio decoding library")
+ (description
+ "Symphonia is a pure Rust media container and audio decoding library
+that supports a wide range of audio formats.")
+ (license license:mpl2.0)))
+
(define-public rust-symphonia-bundle-flac-0.4
(package
(name "rust-symphonia-bundle-flac")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 63/64] gnu: Add rust-rodio-0.15.
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (61 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 62/64] gnu: rust-symphonia-0.4 Steve George
@ 2023-10-23 22:21 ` 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
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-rodio-0.15): New variable.
---
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 5f1b2f6cb5..19fd141a4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17585,6 +17585,33 @@ (define-public rust-crunchy-0.2
number ``crunching``.")
(license license:expat)))
+(define-public rust-rodio-0.15
+ (package
+ (name "rust-rodio")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rodio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4)
+ ("rust-cpal" ,rust-cpal-0.13)
+ ("rust-hound" ,rust-hound-3)
+ ("rust-lewton" ,rust-lewton-0.10)
+ ("rust-minimp3" ,rust-minimp3-0.5)
+ ("rust-symphonia" ,rust-symphonia-0.4))))
+ (native-inputs (list pkg-config))
+ (inputs (list alsa-lib))
+ (home-page "https://github.com/RustAudio/rodio")
+ (synopsis "A pure Rust audio playback library")
+ (description "Audio playback library written in pure Rust that supports
+many formats including AAC, FLAC, MP3, MP4 and WAV.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-roxmltree-0.14
(package
(name "rust-roxmltree")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [bug#66717] [PATCH 64/64] gnu: Add rust-librespot-playback-0.4
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (62 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 63/64] gnu: Add rust-rodio-0.15 Steve George
@ 2023-10-23 22:21 ` Steve George
2023-10-24 11:55 ` bug#66717: [PATCH 00/64] Series to add rust-librespot-playback-0.4 Efraim Flashner
64 siblings, 0 replies; 66+ messages in thread
From: Steve George @ 2023-10-23 22:21 UTC (permalink / raw)
To: 66717; +Cc: Steve George, efraim
* gnu/packages/crates-io.scm (rust-librespot-playback-0.4): New variable.
-- >8 --
Q: how do I resolve the conflicting Jack versions?
When I try and build from source I get messages that:
* cpal v0.13.5 requires jack-0.8 which requires jack-sys-0.2.3
* librespot-playback v0.4.2 requires jack-10 which requires jack-sys-0.4
I can't find a way to adjust the dependencies:
* librespot 0.4.2 and 0.4.1 both require jack-0.8
* cpal 0.13.x doesn't have a version that relies on jack-0.8
---
gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19fd141a4f..1e49315cce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38202,6 +38202,56 @@ (define-public rust-librespot-metadata-0.4
Spotify. This package contains the metadata logic.")
(license license:expat)))
+(define-public rust-librespot-playback-0.4
+ (package
+ (name "rust-librespot-playback")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "librespot-playback" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dygnzldvkv1qpagr9nl62hmqh0xfcf4lsva37j0xxy7pjws142i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; conflict in the versions of Jack required by rust-cpal-0.13 and
+ ;; rust-librespot-playback 0.4 means we have to skip building
+ #:skip-build? #t
+ #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-lewton" ,rust-lewton-0.10)
+ ("rust-librespot-audio" ,rust-librespot-audio-0.4)
+ ("rust-librespot-core" ,rust-librespot-core-0.4)
+ ("rust-librespot-metadata" ,rust-librespot-metadata-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ogg" ,rust-ogg-0.8)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-distr" ,rust-rand-distr-0.4)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6)
+ ("rust-alsa" ,rust-alsa-0.6)
+ ("rust-cpal" ,rust-cpal-0.13)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-app" ,rust-gstreamer-app-0.18)
+ ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.18)
+ ("rust-jack" ,rust-jack-0.10)
+ ("rust-libpulse-binding" ,rust-libpulse-binding-2)
+ ("rust-libpulse-simple-binding" ,rust-libpulse-simple-binding-2)
+ ("rust-portaudio-rs" ,rust-portaudio-rs-0.3)
+ ("rust-rodio" ,rust-rodio-0.15)
+ ("rust-sdl2" ,rust-sdl2-0.35))))
+ (home-page "https://github.com/librespot-org/librespot")
+ (synopsis "Audio playback for Librespot")
+ (description "Audio playback for Librespot, an open source client
+library for Spotify.")
+ (license license:expat)))
+
(define-public rust-librespot-protocol-0.4
(package
(name "rust-librespot-protocol")
--
2.41.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* bug#66717: [PATCH 00/64] Series to add rust-librespot-playback-0.4
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
` (63 preceding siblings ...)
2023-10-23 22:21 ` [bug#66717] [PATCH 64/64] gnu: Add rust-librespot-playback-0.4 Steve George
@ 2023-10-24 11:55 ` Efraim Flashner
64 siblings, 0 replies; 66+ messages in thread
From: Efraim Flashner @ 2023-10-24 11:55 UTC (permalink / raw)
To: Steve George; +Cc: 66717-done
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
Patches pushed!
I moved the gstreamer packages to crates-gtk since it seemed to fit well
enough. And I split some of the double packages you sent.
--
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] 66+ messages in thread