[PATCH 00/64] Series to add rust-librespot-playback-0.4

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Steve George
Owner
unassigned
Submitted by
Steve George
Severity
normal
S
S
Steve George wrote on 23 Oct 2023 23:32
(address . guix-patches@gnu.org)(name . Steve George)(address . steve@futurile.net)
cover.1698094241.git.steve@futurile.net
Hi,

This is a series to add rust-librespot-playback.

I need some help as I've run into a problem at the end that is
preventing building librespot-playback from source.

The error message is that there can only be one version of a system
library in the tree - there are conflicting versions of Jack

* cpal v0.13.5 requires jack-0.8 -> jack-sys-0.2.3
* librespot-playback v0.4.2 requires jack-0.10 -> jack-sys-0.4

I can't find a way to adjust the dependencies so there's only one Jack
in the tree:

* Librespot v0.4.2 and v0.4.1 both want jack-10
* There's no version of cpal-0.13.x that supports jack-10

Are there any other ways I can resolve the dependencies?

Steve George (64):
gnu: Add rust-ogg.
gnu: rust-owning-ref: Update to 0.3.3.
gnu: rust-parking-lot-core: Update to 0.2.14.
gnu: rust-parking-lot: Update to 0.4.8.
gnu: Add rust-rental and rust-rental-impl.
gnu: Add rust-al-sys.
gnu: Add rust-alto.
gnu: Add rust-lewton.
gnu: Add rust-alsa-sys.
gnu: Add rust-alsa.
gnu: rust-alsa: Update to 0.6.0.
gnu: Add rust-coreaudio-rs-0.10 and rust-coreaudio-sys-0.2.
gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3.
gnu: Add rust-ndk-glue-0.6.
gnu: Add rust-fetch-unroll-0.3.
gnu: Add rust-oboe-0.4 and rust-oboe-sys-0.4.
gnu: Add rust-stdweb-0.1.
gnu: Add rust-bindgen-0.56
gnu: Add rust-asyio-sys.
gnu: Add rust-jack-0.8 and rust-jack-sys-0.2.
gnu: Add rust-hound-3.
gnu: Update rust-cache-padded-1 to 1.3.0.
gnu: Add rust-ringbuf-0.2.
gnu: Add rust-cpal-0.13.
gnu: Add rust-option-operations-0.4.
gnu: Add rust-muldiv-1.
gnu: Add rust-pretty-hex.
gnu: Add rust-gstreamer-sys-0.18.
gnu: Add rust-gstreamer-0.18.
gnu: Add rust-gstreamer-base-sys-0.18.
gnu: Add rust-gstreamer-base-0.18.
gnu: Add rust-gstreamer-app-sys-0.18.
gnu: Add rust-gstreamer-app-0.18.
gnu: Add rust-array-init-2.
gnu: Add rust-gstreamer-audio-sys-0.18.
gnu: Add rust-gstreamer-audio-0.18.
gnu: Add rust-jack-sys-0.4.
gnu: Add rust-jack-0.10.
gnu: rust-libpulse-sys-1: Update to v1.21.0
gnu: Add rust-libpulse-simple-sys-1.
gnu: rust-libpulse-binding-2: Update to 2.28.1
gnu Add rust-libpulse-simple-binding-2.
gnu: Add rust-portaudio-sys-0.1.
gnu: Add rust-portaudio-rs-0.3.
gnu: Add rust-ogg-0.5.
gnu: Add rust-mp4parse-0.8.
gnu: Add rust-claxon-0.4.
gnu: Add rust-slice-deque-0.3.
gnu: Add rust-minimp3-sys-0.3.
gnu: Add rust-minimp3-0.5.
gnu: Add rust-symphonia-core-0.4.
gnu: Add rust-symphonia-metadata-0.4.
gnu: Add rust-symphonia-utils-xiph-0.4.
gnu: Add rust-symphonia-bundle-flac-0.4.
gnu: rust-symphonia-bundle-mp3-0.4.
gnu: Add rust-symphonia-codec-aac-0.4.
gnu: Add rust-symphonia-code-pcm-0.4
gnu: Add rust-symphonia-codec-vorbis-0.4.
gnu: Add rust-symphonia-format-iosmp4-0.4.
gnu: Add rust-symphonia-format-ogg-0.4.
gnu: Add rust-symphonia-format-wav-0.4.
gnu: rust-symphonia-0.4.
gnu: Add rust-rodio-0.15.
gnu: Add rust-librespot-playback-0.4

gnu/packages/crates-graphics.scm | 14 +
gnu/packages/crates-io.scm | 1712 +++++++++++++++++++++++++++++-
2 files changed, 1693 insertions(+), 33 deletions(-)


base-commit: cbd20d627497053871db863970c07d93c7081786
--
2.41.0
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 01/64] gnu: Add rust-ogg.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
e75aa10054139d6c894ab04af3b20fc4985f2319.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-ogg): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 07/64] gnu: Add rust-alto.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
a8e90c0b70a04794a8d8bcf4fdb6398737fe08f7.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-alto): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
eb6e5cec3529794d1e506c90bbe3ba46c85616b6.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-parking-lot): Update to 0.4.8.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 06/64] gnu: Add rust-al-sys.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
b604af114d6b2fe26f01a2f65d1ebc20fa017f1f.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-al-sys): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 05/64] gnu: Add rust-rental and rust-rental-impl.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
130697fd18c43a770d7758e54064c4b2586bbff3.1698099449.git.steve@futurile.net
* 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(+)

Toggle diff (60 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 03/64] gnu: rust-parking-lot-core: Update to 0.2.14.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
1b2ed73e124ca60c597796c4719ff290c543752b.1698099449.git.steve@futurile.net
* 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(+)

Toggle diff (35 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 08/64] gnu: Add rust-lewton.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
75e1029323a76f7bcbcf71a1580bef5414dbd5ac.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-lewton): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 02/64] gnu: rust-owning-ref: Update to 0.3.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
ae508f6a40e2e4d4f1470d180d41dafc4ab8a6d1.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-owning-ref): Update to 0.3.3.
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Toggle diff (29 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 12/64] gnu: Add rust-coreaudio-rs-0.10 and rust-coreaudio-sys-0.2.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
487dccfb3a8fce6e64fd41ebdf635231cf3801f6.1698099450.git.steve@futurile.net
* 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(+)

Toggle diff (57 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 11/64] gnu: rust-alsa: Update to 0.6.0.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
7f1be90c220a993a3bd124c6ccb1afde95e2f1d4.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-alsa): Update to 0.6.0.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 13/64] gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
b69141be5df48684f1f6d4d99d46830b335c8ff3.1698099450.git.steve@futurile.net
* 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(+)

Toggle diff (55 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 16/64] gnu: Add rust-oboe-0.4 and rust-oboe-sys-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
abbe89443284a28be529f7bc68d11c3b84438cda.1698099450.git.steve@futurile.net
* 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(+)

Toggle diff (64 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 15/64] gnu: Add rust-fetch-unroll-0.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
cb92b392bdb8e7ef97d021d2017c0bcdb7d70066.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-fetch-unroll-0.3): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 10/64] gnu: Add rust-alsa.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
36386e3fd53c7d86165fc3b6d025aca3015e6fc9.1698099449.git.steve@futurile.net
* 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(+)

Toggle diff (51 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 09/64] gnu: Add rust-alsa-sys.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
421189983210623dac4db18d9de7b23440150aa0.1698099449.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-alsa-sys): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 19/64] gnu: Add rust-asyio-sys.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
e0b7042340ebc16052759e7224071d92d25a2a8c.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-asio-sys): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 17/64] gnu: Add rust-stdweb-0.1.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
ee50c2428057dbb1c4322df2c83bd22065c71e09.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-stdweb-0.1): New variable.
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 24/64] gnu: Add rust-cpal-0.13.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
35027f4d6b0b1d62d67278cf4f236df29be3d2e6.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm(rust-cpal-0.13): New variable.
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)

Toggle diff (60 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 18/64] gnu: Add rust-bindgen-0.56
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
149062a7c196ba4e6ba90960ab5cab37a38b1f97.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 23/64] gnu: Add rust-ringbuf-0.2.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
42b81557b7a4d2cdb61078ebe77ad02ce48c1c5f.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-ringbuf-0.2): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 20/64] gnu: Add rust-jack-0.8 and rust-jack-sys-0.2.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
61ab0abb0fac751fc5fda7eef8614b858165222a.1698099450.git.steve@futurile.net
* 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(+)

Toggle diff (71 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 27/64] gnu: Add rust-pretty-hex.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
dc4028e7b8d7f6e0ac0646505a7eeb9b337c2854.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-pretty-hex): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:20
[PATCH 14/64] gnu: Add rust-ndk-glue-0.6.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
7d320a826f979dff531e32f9bddadb4dc8ddf310.1698099450.git.steve@futurile.net
* 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(-)

Toggle diff (85 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 25/64] gnu: Add rust-option-operations-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
4eebd73a7a07bf22b22d47cd44bd77299b9c1c35.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-option-operations-0.4): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 21/64] gnu: Add rust-hound-3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
17b6ba63474dd57599fcdc26e682309de52bd760.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-hound-3): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
e0e622d116ce5652fe7687c2b9f7a24e472f6f40.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (48 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 22/64] gnu: Update rust-cache-padded-1 to 1.3.0.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
0429ef83a905bdbcfc7b41de17f3b7b2eed6c476.1698099450.git.steve@futurile.net
* 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(-)

Toggle diff (23 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 29/64] gnu: Add rust-gstreamer-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
12ca9c51fc22bffcb4f78cf6dc8b8fbe64cd075d.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-0.18): New variable.
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

Toggle diff (58 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 31/64] gnu: Add rust-gstreamer-base-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
7d2328352a415161481ff7dbc122c1f363c190ed.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-base-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 26/64] gnu: Add rust-muldiv-1.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
200bd6bc17dfa78fb4ab31c623e2c0faba5bea96.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-muldiv-1): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
2453a70c4f7d08e27e6e086eec2e89ae3fcfb1f2.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-base-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 33/64] gnu: Add rust-gstreamer-app-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
01d8310b7e27b6ba66598a72fab41e64026ec5e8.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-app-0.18): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 39/64] gnu: rust-libpulse-sys-1: Update to v1.21.0
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
8ca6a095969741ce3c726aa1a3a23303c061f9d6.1698099450.git.steve@futurile.net
* 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(-)

Toggle diff (24 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 35/64] gnu: Add rust-gstreamer-audio-sys-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
9bf178482330fb4b914cb2eac2da9779a396f64b.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-audio-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
6846c8eb46f6a360079497317f5e108e6de09662.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-libpulse-simple-sys-1): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 37/64] gnu: Add rust-jack-sys-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
3ce588279c92f1f579057078d30819c58ea138ea.1698099450.git.steve@futurile.net
* 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(-)

Toggle diff (56 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 42/64] gnu Add rust-libpulse-simple-binding-2.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
9068270f279cda7d3b457897276d8263fc2da18e.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-libpulse-simple-binding-2): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 41/64] gnu: rust-libpulse-binding-2: Update to 2.28.1
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
1aab04cc71e44809c72e79497049855281dd45e9.1698099451.git.steve@futurile.net
* 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(-)

Toggle diff (24 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 44/64] gnu: Add rust-portaudio-rs-0.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
b9727eefec9fec8a19d6bbc86d0b2351797babbb.1698099451.git.steve@futurile.net
* 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(+)

Toggle diff (36 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 34/64] gnu: Add rust-array-init-2.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
6f460ec4227b9ab4b5843baf4ae782879ff27837.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-array-init-2): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 32/64] gnu: Add rust-gstreamer-app-sys-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
32798fcba19c3daf1db8d1edf089d6111d814e0c.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-app-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 43/64] gnu: Add rust-portaudio-sys-0.1.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
e0152e64d1e1447e27f43f0e24ea37dbc975272e.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-portaudio-sys-0.1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
c9bb2d3f6ea42e206ca7a6420a7de676035cee1b.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-gstreamer-audio-0.18): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 38/64] gnu: Add rust-jack-0.10.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
de33ab379c51cb72bb741be76e5b5dfddef2eb37.1698099450.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-jack-0.10): New variable.
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++---------
1 file changed, 32 insertions(+), 9 deletions(-)

Toggle diff (77 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 46/64] gnu: Add rust-mp4parse-0.8.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
0ba59e127c8c096cd1ea0da34c18ebb893f1a270.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-mp4parse-0.8): New variable.
---
gnu/packages/crates-graphics.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)

Toggle diff (27 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 45/64] gnu: Add rust-ogg-0.5.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
55222af6a5a9e580477ea96e8f7317071590ae71.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-ogg-0.5): New version.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 50/64] gnu: Add rust-minimp3-0.5.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
cae6885bb403702b287880b3d910e36bea7dda14.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-minimp3-0.5): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 47/64] gnu: Add rust-claxon-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
7b52acc7ba26ab4c9ee57f3c680674b774c7a7c4.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-claxon-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
f9c8f74f4514d6dc2bbafced0463ad0678da80c5.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-metadata-0.4): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 48/64] gnu: Add rust-slice-deque-0.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
ba10812bb7c75ac3925baf15bad6296d721c7cbb.1698099451.git.steve@futurile.net
* 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(-)

Toggle diff (62 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 51/64] gnu: Add rust-symphonia-core-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
a75c89e64a20364d856b86b4f60c7fc8e03dbf6e.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-core-0.4): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 49/64] gnu: Add rust-minimp3-sys-0.3.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
078b0dead1c387db8101673b67e14bfe826003b6.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-minimp3-sys-0.3): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (43 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
58efe0aafe38b9b158d69a96f39a575a2af2ee0a.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-bundle-mp3-0.4): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 54/64] gnu: Add rust-symphonia-bundle-flac-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
f0f0cba5b33ca447ff90daf3c61fc871837e9a73.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-bundle-flac-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
a0a29d42486cd73de8bb336f3a1797557b13fe17.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-codec-vorbis-0.4): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 53/64] gnu: Add rust-symphonia-utils-xiph-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
a5d74135556b4a46b8365697215ed56ad10123e4.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-utils-xiph-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
e8f89456fc9433f08eb72e372f6f9278bb8f7997.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-code-pcm-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 56/64] gnu: Add rust-symphonia-codec-aac-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
ed50c4cbabc70e9adbbbd6145136dd9b3147c153.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-codec-aac-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 60/64] gnu: Add rust-symphonia-format-ogg-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
3465f175510008555fa709b26f7195b3ad04314e.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-format-ogg-0.4): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 63/64] gnu: Add rust-rodio-0.15.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
a7ada2b394167077a94fa4cd1dc3640a36ee088a.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-rodio-0.15): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 59/64] gnu: Add rust-symphonia-format-iosmp4-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
c9814faecfaa1eed149bec09d1f3b9ac9c6a0d65.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-format-isomp4-0.4): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 64/64] gnu: Add rust-librespot-playback-0.4
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
27c778e6cf403e722a74d0857b5a64d4ea0afe0a.1698099451.git.steve@futurile.net
* 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(+)

Toggle diff (63 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 62/64] gnu: rust-symphonia-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
c8ee502398a2788ae59af994654b4ce4ca613d8d.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-0.4): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
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
S
S
Steve George wrote on 24 Oct 2023 00:21
[PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4.
(address . 66717@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
1a9c671b59a98766d1d1175ef071d4e355a1afa1.1698099451.git.steve@futurile.net
* gnu/packages/crates-io.scm (rust-symphonia-format-wav-0.4): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
E
E
Efraim Flashner wrote on 24 Oct 2023 13:55
Re: [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4
(name . Steve George)(address . steve@futurile.net)(address . 66717-done@debbugs.gnu.org)
ZTewxf7HJi_pX_KO@3900XT
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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmU3sMUACgkQQarn3Mo9
g1HPSQ//VFrTpdS4D7yGgMaYW1/1lhiCcofAQfNkmSRniHzwBZKsfWNIFoLxZEK/
gNjEWWwSqZLyOz9iteZGhZOXbVsAOdpGPBVJ058l57An4LElxXeRrFqU8Wp+N6p6
cF5EA/Yra7wKDv3x4gd0EYJocZAZ/8DoY+Zhsud7p8kXWMwvEzYigdtvUG9dL5mL
ZNFpuTuSFCUVuuMH+qKMpOab69paMpMOTLRMtBYAwmVXV45wQaNdDZELCiALk4z8
TTERV2LBd48BcGINFYsnlezTOL2Xn2UnPTlTeBGa/N9YJ9CACiiEHzi6K3R00iqz
l6+L2We+GR2FY4PASnD+QwVytewtrRjS8RBjCG7U/isABVe9Pj5IC0tvT8S1E9F3
jTBFjGOwfdFktc5WzhXqzkwQzKPMSIwLa0wLRXqldt6umpx1SHfa1ZYGq4CPGnkE
8KFdiO9DE2D2v3AkA83Eh4uz1LGejWUKusMa6HpqKV0fuK4/aIyG3jYMx4ttU6an
uQDII2H2Q29bMAHEzAXjoQhnALtckbaKaauIWYY5/e10yKDLqdlk8Im+5OPYmOr+
8grGkJkKTzGhuOnHkfxCrKOIbk48Az/PsWVwXwy+awwL+hAZNmUk5+3nSERdlX/Z
TL4y2sUNrKwbr6TZDcbETKLgQBcLc74fG653e8YnBhUU68PqTpk=
=588B
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 66717@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66717
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch