all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery
@ 2023-10-16 16:12 Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy Steve George
                   ` (13 more replies)
  0 siblings, 14 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:12 UTC (permalink / raw)
  To: 66579

Part of a series to add librespot 0.4.2 - this covers the following parts:

   * rust-hyper-proxy-0.9: new variable
     * rust-protobuf: update to 2.28
     * rust-protobuf-codegen & rust-protobuf-codegen-pure: update to 2.28
   * rust-librespot-protocol: new variable
     * rust-password-hash: new variable
   * rust-pbkdf2: new variable
   * rust-priority-queue-1: new variable
   * rust-shannon: new variable
* rust-librespot-core: new variable

* rust-librespot-audio: new variable

     * rust-if-addrs: add new version
   * rust-libmdns: add new version
* rust-librespot-discovery: new variable


base-commit: 4ec6fd7817ec4073547fd71309374a293d7c436c




^ permalink raw reply	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 02/13] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-hyper-proxy): New variable.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..8dc31b9cd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30717,6 +30717,46 @@ (define-public rust-humantime-1
         ("rust-rand" ,rust-rand-0.4)
         ("rust-time" ,rust-time-0.1))))))
 
+(define-public rust-hyper-proxy-0.9
+  (package
+    (name "rust-hyper-proxy")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "hyper-proxy" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1k3mpq6d4rhz58dam1757sav14j32n39q8x37wjgpz943f4mm0fa"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-bytes" ,rust-bytes-1)
+                            ("rust-futures" ,rust-futures-0.3)
+                            ("rust-headers" ,rust-headers-0.3)
+                            ("rust-http" ,rust-http-0.2)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-tower-service" ,rust-tower-service-0.3)
+                            ("rust-hyper-rustls" ,rust-hyper-rustls-0.22)
+                            ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+                            ("rust-native-tls" ,rust-native-tls-0.2)
+                            ("rust-openssl" ,rust-openssl-0.10)
+                            ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
+                            ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                            ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                            ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+                            ("rust-webpki" ,rust-webpki-0.21)
+                            ("rust-webpki-roots" ,rust-webpki-roots-0.21))
+           #:cargo-development-inputs `(("rust-hyper" ,rust-hyper-0.14)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list openssl))
+    (home-page "https://github.com/tafia/hyper-proxy")
+    (synopsis "Proxy connector for Hyper-based applications")
+    (description "Proxy connector for the Hyper HTTP library.")
+    (license license:expat)))
+
 (define-public rust-hyper-0.14
   (package
     (name "rust-hyper")

base-commit: 4ec6fd7817ec4073547fd71309374a293d7c436c
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 02/13] gnu: rust-protobuf-2: Update to 2.28.0.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 03/13] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-protobuf-2): Update to 2.28.0.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8dc31b9cd6..486c53ba85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50081,7 +50081,7 @@ (define-public rust-prost-0.9
 (define-public rust-protobuf-2
   (package
     (name "rust-protobuf")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf" version))
@@ -50093,7 +50093,7 @@ (define-public rust-protobuf-2
     (arguments
      `(#:tests? #f          ; missing files in the release tarball.
        #:cargo-inputs
-       (("rust-bytes" ,rust-bytes-0.5)
+       (("rust-bytes" ,rust-bytes-1)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-derive" ,rust-serde-derive-1))))
     (home-page "https://github.com/stepancheg/rust-protobuf/")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 03/13] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: Update to 2.28.0.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 02/13] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 04/13] gnu: Add rust-librespot-protocol Steve George
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm: (rust-protobuf-codegen): Update to 2.28.0.
* gnu/packages/crates-io.scm: (rust-protobuf-codegen-pure): Update to 2.28.0.
---
 gnu/packages/crates-io.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486c53ba85..1e5e99b719 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50088,7 +50088,7 @@ (define-public rust-protobuf-2
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "11bl8hf522s9mbkckivnn9n8s3ss4g41w6jmfdsswmr5adqd71lf"))))
+                 "154dfzjvxlpx37ha3cmp7fkhcsnyzbnfv7aisvz34x23k2gdjv8h"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f          ; missing files in the release tarball.
@@ -50107,14 +50107,14 @@ (define-public rust-protobuf-2
 (define-public rust-protobuf-codegen-2
   (package
     (name "rust-protobuf-codegen")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf-codegen" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "031bx325lsgcx7wc76vc2cqph6q0b34jgc8nz0g2rkwcfnx3n4fy"))))
+                 "1mhpl2cs1d2sqddf097ala180il61g9axpqnzky5bxswnypn0d03"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-protobuf" ,rust-protobuf-2))))
@@ -50131,17 +50131,18 @@ (define-public rust-protobuf-codegen-2
 (define-public rust-protobuf-codegen-pure-2
   (package
     (name "rust-protobuf-codegen-pure")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf-codegen-pure" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0h34gfqlb7bqmgqv1mfgy5wk35z5r2h5ki3p3pdcmw1vqzmly6id"))))
+                 "0rfqvpbbqh4pa406nda54jdl0sgagdgp274mmbpd7g4lzjcr78lm"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f
+       #:cargo-inputs
        (("rust-protobuf" ,rust-protobuf-2)
         ("rust-protobuf-codegen" ,rust-protobuf-codegen-2))))
     (home-page "https://github.com/stepancheg/rust-protobuf/")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 04/13] gnu: Add rust-librespot-protocol.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (2 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 03/13] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 05/13] gnu: Add rust-password-hash-0.2 Steve George
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-librespot-protocol): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e5e99b719..154e608724 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35587,6 +35587,30 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-protocol-0.4
+  (package
+    (name "rust-librespot-protocol")
+    (version "0.4.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "librespot-protocol" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17xkvhlxfkjh1z79pvq22nrxi99hcxnzafg0pdkymh3a3733lvax"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-protobuf" ,rust-protobuf-2)
+                            ("rust-glob" ,rust-glob-0.3)
+                            ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The protobuf logic for communicating with Spotify servers")
+    (description "Part of Librespot, an open source, Spotify client library.
+This package contains the protobuf logic.")
+    (license license:expat)))
+
+
 (define-public rust-libsqlite3-sys-0.26
   (package
     (name "rust-libsqlite3-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 05/13] gnu: Add rust-password-hash-0.2
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (3 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 04/13] gnu: Add rust-librespot-protocol Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8 Steve George
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-password-hash-0.2): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 154e608724..8726d322f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45975,6 +45975,25 @@ (define-public rust-password-hash-0.3
         ("rust-rand-core" ,rust-rand-core-0.6)
         ("rust-subtle" ,rust-subtle-2))))))
 
+(define-public rust-password-hash-0.2
+  (package
+    (inherit rust-password-hash-0.5)
+    (name "rust-password-hash")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "password-hash" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1rr4kd52ld978a2xhcvlc54p1d92yhxl9kvbajba7ia6rs5b5q3p"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-subtle" ,rust-subtle-2)
+                            ("rust-rand-core" ,rust-rand-core-0.6))))))
+
 (define-public rust-paste-1
   (package
     (name "rust-paste")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (4 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 05/13] gnu: Add rust-password-hash-0.2 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 07/13] gnu: Add rust-priority-queue-1 Steve George
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-pbkdf2-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8726d322f1..8dc22667d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46274,6 +46274,33 @@ (define-public rust-pbkdf2-0.9
         ("rust-sha2" ,rust-sha2-0.9)
         ("rust-streebog" ,rust-streebog-0.9))))))
 
+(define-public rust-pbkdf2-0.8
+  (package
+    (inherit rust-pbkdf2-0.10)
+    (name "rust-pbkdf2")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pbkdf2" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr"))))
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-crypto-mac" ,rust-crypto-mac-0.11)
+                            ("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-password-hash" ,rust-password-hash-0.2)
+                            ("rust-rayon" ,rust-rayon-1)
+                            ("rust-sha-1" ,rust-sha-1-0.9)
+                            ("rust-sha2" ,rust-sha2-0.9))
+           #:cargo-development-inputs `(("rust-hex-literal" ,rust-hex-literal-0.3)
+                                        ("rust-hmac" ,rust-hmac-0.11)
+                                        ("rust-rand-core" ,rust-rand-core-0.6)
+                                        ("rust-sha-1" ,rust-sha-1-0.9)
+                                        ("rust-sha2" ,rust-sha2-0.9))))))
+
 (define-public rust-pbkdf2-0.6
   (package
     (inherit rust-pbkdf2-0.10)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 07/13] gnu: Add rust-priority-queue-1
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (5 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 08/13] gnu: Add rust-shannon Steve George
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-priority-queue-1): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8dc22667d1..83e6f11b05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49513,6 +49513,33 @@ (define-public rust-print-bytes-0.4
        #:cargo-development-inputs
        (("rust-os-str-bytes" ,rust-os-str-bytes-2))))))
 
+(define-public rust-priority-queue-1
+  (package
+    (name "rust-priority-queue")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "priority-queue" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                 "1id9vzrypiilraw4wd5lh577prkjgyhd5vv77rdcgb7kkbcq4l41"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-indexmap" ,rust-indexmap-1)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-autocfg" ,rust-autocfg-1))
+           #:cargo-development-inputs `(("rust-hashbrown" ,rust-hashbrown-0.9)
+                                        ("rust-serde-json" ,rust-serde-json-1)
+                                        ("rust-serde-test" ,rust-serde-test-1)
+                                        ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page "https://github.com/garro95/priority-queue")
+    (synopsis "Efficient priority queue implemented as a heap")
+    (description "An efficient priority queue with a function to change the
+priority of an object.")
+    (license license:expat)))
+
 (define-public rust-proc-macro-crate-1
   (package
     (name "rust-proc-macro-crate")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 08/13] gnu: Add rust-shannon
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (6 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 07/13] gnu: Add rust-priority-queue-1 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 09/13] gnu: Add rust-librespot-core Steve George
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-shannon): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83e6f11b05..9aa975cf42 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61586,6 +61586,28 @@ (define-public rust-shadow-rs-0.8
 exactly where a binary came from and how it was built.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-shannon-0.2
+  (package
+    (name "rust-shannon")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "shannon" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0qa52zs4y1i87ysr11g9p6shpdagl14bb340gfm6rd97jhfb99by"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1))))
+    (home-page "https://docs.rs/shannon/0.2.0/shannon/")
+    (synopsis "Shannon cipher implementation")
+    (description
+     "A Shannon cipher implementation, that encrypts a message using a
+shared secret key.")
+    (license license:expat)))
+
 (define-public rust-sharded-slab-0.1
   (package
     (name "rust-sharded-slab")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 09/13] gnu: Add rust-librespot-core.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (7 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 08/13] gnu: Add rust-shannon Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio Steve George
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-librespot-core): New variable.
---
 gnu/packages/crates-io.scm | 60 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9aa975cf42..ffc7891ee8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35587,6 +35587,66 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-core-0.4
+  (package
+    (name "rust-librespot-core")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vaxnnlnsx8bmphiikm4kb99795jch0xxifr0azl9rl8b3r4jqq4"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-test-flags ``("--release" "--" "--skip=test_connection"
+                                 "--skip=test_apresolve"
+                                 "--skip=test_apresolve_port_443")
+           #:skip-build? #f
+           #:cargo-inputs `(("rust-aes" ,rust-aes-0.6)
+                            ("rust-base64" ,rust-base64-0.13)
+                            ("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-bytes" ,rust-bytes-1)
+                            ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+                            ("rust-futures-core" ,rust-futures-core-0.3)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-http" ,rust-http-0.2)
+                            ("rust-httparse" ,rust-httparse-1)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-hyper-proxy" ,rust-hyper-proxy-0.9)
+                            ("rust-librespot-protocol" ,rust-librespot-protocol-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-num-bigint" ,rust-num-bigint-0.4)
+                            ("rust-num-integer" ,rust-num-integer-0.1)
+                            ("rust-num-traits" ,rust-num-traits-0.2)
+                            ("rust-once-cell" ,rust-once-cell-1)
+                            ("rust-pbkdf2" ,rust-pbkdf2-0.8)
+                            ("rust-priority-queue" ,rust-priority-queue-1)
+                            ("rust-protobuf" ,rust-protobuf-2)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-sha-1" ,rust-sha-1-0.10)
+                            ("rust-shannon" ,rust-shannon-0.2)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+                            ("rust-tokio-util" ,rust-tokio-util-0.7)
+                            ("rust-url" ,rust-url-2)
+                            ("rust-uuid" ,rust-uuid-1)
+                            ("rust-vergen" ,rust-vergen-3))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.9)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The core functionality provided by librespot")
+    (description
+     "Part of Librespot, an open source client library for
+Spotify.  This package contains core functionality, such as authentication,
+channel and session.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (8 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 09/13] gnu: Add rust-librespot-core Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-20  9:30   ` Christopher Baines
  2023-10-16 16:54 ` [bug#66579] [PATCH 11/13] gnu: rust-if-addrs: Update to 0.7.0 Steve George
                   ` (3 subsequent siblings)
  13 siblings, 1 reply; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-librespot-audio): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffc7891ee8..100a5ee645 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35587,6 +35587,35 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-audio-0.4
+  (package
+    (name "rust-librespot-audio")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-audio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6)
+                            ("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-bytes" ,rust-bytes-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-librespot-core" ,rust-librespot-core-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-tempfile" ,rust-tempfile-3)
+                            ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The audio fetching logic for Librespot")
+    (description
+     "Part of Librespot, an open source client library
+for Spotify.  This package contains the audio fetching logic.")
+    (license license:expat)))
+
 (define-public rust-librespot-core-0.4
   (package
     (name "rust-librespot-core")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 11/13] gnu: rust-if-addrs: Update to 0.7.0
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (9 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 12/13] gnu: rust-libmdns: Update to 0.7.5 Steve George
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-if-addrs): Update to 0.7.0
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 100a5ee645..1caaae93f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31392,22 +31392,21 @@ (define-public rust-ieee754-0.2
 floating-point numbers.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-if-addrs-0.6
+(define-public rust-if-addrs-0.7
   (package
     (name "rust-if-addrs")
-    (version "0.6.7")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "if-addrs" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "if-addrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a81w57p0hx6ql2ds2ayps38n0ndfaqcs618qzdyjln7zw0zmh6b"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
+     (list #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+                            ("rust-winapi" ,rust-winapi-0.3))))
     (native-inputs (list iproute))
     (home-page "https://github.com/messense/if-addrs")
     (synopsis "Return interface IP addresses on POSIX and Windows systems")
@@ -31415,6 +31414,23 @@ (define-public rust-if-addrs-0.6
 on both POSIX and Microsoft Windows hosts.")
     (license (list license:expat license:bsd-3))))
 
+(define-public rust-if-addrs-0.6
+  (package
+    (inherit rust-if-addrs-0.7)
+    (name "rust-if-addrs")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "if-addrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-if-addrs-sys-0.3
   (package
     (name "rust-if-addrs-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 12/13] gnu: rust-libmdns: Update to 0.7.5.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (10 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 11/13] gnu: rust-if-addrs: Update to 0.7.0 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-16 16:54 ` [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery Steve George
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-libmdns): Update to 0.7.5
---
 gnu/packages/crates-io.scm | 70 ++++++++++++++++++++++++++------------
 1 file changed, 49 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1caaae93f4..4e1b2460b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35339,39 +35339,67 @@ (define-public rust-libmimalloc-sys-0.1
 allocator.")
     (license license:expat)))
 
-(define-public rust-libmdns-0.6
+(define-public rust-libmdns-0.7
   (package
     (name "rust-libmdns")
-    (version "0.6.3")
+    (version "0.7.5")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "libmdns" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+               (base32
+                "0470r44w3wkwg785wv1j9x8i65qa6v0ygrzh4vg9mcdkarmsw10b"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-byteorder" ,rust-byteorder-1)
-        ("rust-futures-util" ,rust-futures-util-0.3)
-        ("rust-hostname" ,rust-hostname-0.3)
-        ("rust-if-addrs" ,rust-if-addrs-0.6)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-multimap" ,rust-multimap-0.8)
-        ("rust-rand" ,rust-rand-0.8)
-        ("rust-socket2" ,rust-socket2-0.4)
-        ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-tokio" ,rust-tokio-1))
-       #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.8))))
+     (list #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hostname" ,rust-hostname-0.3)
+                            ("rust-if-addrs" ,rust-if-addrs-0.7)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-multimap" ,rust-multimap-0.8)
+                            ("rust-nix" ,rust-nix-0.23)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-socket2" ,rust-socket2-0.4)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-winapi" ,rust-winapi-0.3))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.8))))
     (home-page "https://github.com/librespot-org/libmdns")
-    (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
-    (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
-(RFC 6763) library.  Used for resolution of hostnames to IP addresses on
-networks that do not have a local name server.  Network services can be
-advertised and discovered using this mechanism.")
+    (synopsis
+     "DNS-SD and mDNS library for building discoverable LAN services")
+    (description
+     "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery (RFS 6763)
+library.  Used for resolution of hostnames to IP addresses on networks that
+do not have a local name server.  Network services can be advertised and
+discovered using this mechanism.")
     (license license:expat)))
 
+(define-public rust-libmdns-0.6
+  (package
+    (inherit rust-libmdns-0.7)
+    (name "rust-libmdns")
+    (version "0.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libmdns" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hostname" ,rust-hostname-0.3)
+                            ("rust-if-addrs" ,rust-if-addrs-0.6)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-multimap" ,rust-multimap-0.8)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-socket2" ,rust-socket2-0.4)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.8))))))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery.
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (11 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 12/13] gnu: rust-libmdns: Update to 0.7.5 Steve George
@ 2023-10-16 16:54 ` Steve George
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
  13 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-16 16:54 UTC (permalink / raw)
  To: 66579; +Cc: Steve George, efraim

* gnu/packages/crates-io.scm (rust-librespot-discovery): New variable.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e1b2460b8..4774187ab0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35720,6 +35720,45 @@ (define-public rust-librespot-core-0.4
 channel and session.")
     (license license:expat)))
 
+(define-public rust-librespot-discovery-0.4
+  (package
+    (name "rust-librespot-discovery")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-discovery" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01igbv0xf3vj046jvblbr09cgmv25mlfajyb2903cl31iz8pga1a"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6)
+                            ("rust-base64" ,rust-base64-0.13)
+                            ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+                            ("rust-futures-core" ,rust-futures-core-0.3)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-libmdns" ,rust-libmdns-0.7)
+                            ("rust-librespot-core" ,rust-librespot-core-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-sha-1" ,rust-sha-1-0.9)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-dns-sd" ,rust-dns-sd-0.1))
+           #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.3)
+                                        ("rust-hex" ,rust-hex-0.4)
+                                        ("rust-simple-logger" ,rust-simple-logger-2)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The discovery logic of Librespot")
+    (description "Part of Librespot, an open source client library for
+Spotify.  This package contains the discovery logic.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio.
  2023-10-16 16:54 ` [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio Steve George
@ 2023-10-20  9:30   ` Christopher Baines
  2023-10-20 17:02     ` Steve George
  0 siblings, 1 reply; 33+ messages in thread
From: Christopher Baines @ 2023-10-20  9:30 UTC (permalink / raw)
  To: Steve George; +Cc: 66579, efraim

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]


Steve George <steve@futurile.net> writes:

> * gnu/packages/crates-io.scm (rust-librespot-audio): New variable.
> ---
>  gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index ffc7891ee8..100a5ee645 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -35587,6 +35587,35 @@ (define-public rust-libradicl-0.4
>  single-cell and single-nucleus sequencing data.")
>      (license license:bsd-3)))
>  
> +(define-public rust-librespot-audio-0.4
> +  (package
> +    (name "rust-librespot-audio")
> +    (version "0.4.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "librespot-audio" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     (list #:skip-build? #f
> +           #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6)

rust-aes-ctr-0.6 doesn't seem to be defined, which is what has led to QA
failing to process these changes.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio.
  2023-10-20  9:30   ` Christopher Baines
@ 2023-10-20 17:02     ` Steve George
  0 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 17:02 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 66579, efraim

On 20/10/2023 10:30, Christopher Baines wrote:
(...)
> rust-aes-ctr-0.6 doesn't seem to be defined, which is what has led to QA
> failing to process these changes.
> 

Hi - thanks for the heads-up - I got confused and mistakenly thought 
rust-aes-ctr-0.6 was already there. I have it locally so will add and 
re-roll them.

Thanks,

Steve




^ permalink raw reply	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery
  2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
                   ` (12 preceding siblings ...)
  2023-10-16 16:54 ` [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery Steve George
@ 2023-10-20 20:27 ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy Steve George
                     ` (15 more replies)
  13 siblings, 16 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

Part of a series to add librespot 0.4.2 - this covers the following parts:

   * rust-hyper-proxy-0.9: new variable
     * rust-protobuf: update to 2.28
     * rust-protobuf-codegen & rust-protobuf-codegen-pure: update to 2.28
   * rust-librespot-protocol: new variable
     * rust-password-hash: new variable
   * rust-pbkdf2: new variable
   * rust-priority-queue-1: new variable
   * rust-shannon: new variable
* rust-librespot-core: new variable

  * rust-aes-ctr: new variable <-- NEW
* rust-librespot-audio: new variable

     * rust-if-addrs: add new version
   * rust-libmdns: add new version
* rust-librespot-discovery: new variable

* rust-librespot-metadata: new variable


base-commit: 4ec6fd7817ec4073547fd71309374a293d7c436c
-- 
2.41.0





^ permalink raw reply	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 02/15] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
                     ` (14 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-hyper-proxy): New variable.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..8dc31b9cd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30717,6 +30717,46 @@ (define-public rust-humantime-1
         ("rust-rand" ,rust-rand-0.4)
         ("rust-time" ,rust-time-0.1))))))
 
+(define-public rust-hyper-proxy-0.9
+  (package
+    (name "rust-hyper-proxy")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "hyper-proxy" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1k3mpq6d4rhz58dam1757sav14j32n39q8x37wjgpz943f4mm0fa"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-bytes" ,rust-bytes-1)
+                            ("rust-futures" ,rust-futures-0.3)
+                            ("rust-headers" ,rust-headers-0.3)
+                            ("rust-http" ,rust-http-0.2)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-tower-service" ,rust-tower-service-0.3)
+                            ("rust-hyper-rustls" ,rust-hyper-rustls-0.22)
+                            ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+                            ("rust-native-tls" ,rust-native-tls-0.2)
+                            ("rust-openssl" ,rust-openssl-0.10)
+                            ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
+                            ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                            ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                            ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+                            ("rust-webpki" ,rust-webpki-0.21)
+                            ("rust-webpki-roots" ,rust-webpki-roots-0.21))
+           #:cargo-development-inputs `(("rust-hyper" ,rust-hyper-0.14)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list openssl))
+    (home-page "https://github.com/tafia/hyper-proxy")
+    (synopsis "Proxy connector for Hyper-based applications")
+    (description "Proxy connector for the Hyper HTTP library.")
+    (license license:expat)))
+
 (define-public rust-hyper-0.14
   (package
     (name "rust-hyper")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 02/15] gnu: rust-protobuf-2: Update to 2.28.0.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 03/15] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
                     ` (13 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-protobuf-2): Update to 2.28.0.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8dc31b9cd6..486c53ba85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50081,7 +50081,7 @@ (define-public rust-prost-0.9
 (define-public rust-protobuf-2
   (package
     (name "rust-protobuf")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf" version))
@@ -50093,7 +50093,7 @@ (define-public rust-protobuf-2
     (arguments
      `(#:tests? #f          ; missing files in the release tarball.
        #:cargo-inputs
-       (("rust-bytes" ,rust-bytes-0.5)
+       (("rust-bytes" ,rust-bytes-1)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-derive" ,rust-serde-derive-1))))
     (home-page "https://github.com/stepancheg/rust-protobuf/")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 03/15] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: Update to 2.28.0.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 02/15] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 04/15] gnu: Add rust-librespot-protocol Steve George
                     ` (12 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm: (rust-protobuf-codegen): Update to 2.28.0.
* gnu/packages/crates-io.scm: (rust-protobuf-codegen-pure): Update to 2.28.0.
---
 gnu/packages/crates-io.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486c53ba85..1e5e99b719 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50088,7 +50088,7 @@ (define-public rust-protobuf-2
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "11bl8hf522s9mbkckivnn9n8s3ss4g41w6jmfdsswmr5adqd71lf"))))
+                 "154dfzjvxlpx37ha3cmp7fkhcsnyzbnfv7aisvz34x23k2gdjv8h"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f          ; missing files in the release tarball.
@@ -50107,14 +50107,14 @@ (define-public rust-protobuf-2
 (define-public rust-protobuf-codegen-2
   (package
     (name "rust-protobuf-codegen")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf-codegen" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "031bx325lsgcx7wc76vc2cqph6q0b34jgc8nz0g2rkwcfnx3n4fy"))))
+                 "1mhpl2cs1d2sqddf097ala180il61g9axpqnzky5bxswnypn0d03"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-protobuf" ,rust-protobuf-2))))
@@ -50131,17 +50131,18 @@ (define-public rust-protobuf-codegen-2
 (define-public rust-protobuf-codegen-pure-2
   (package
     (name "rust-protobuf-codegen-pure")
-    (version "2.14.0")
+    (version "2.28.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "protobuf-codegen-pure" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0h34gfqlb7bqmgqv1mfgy5wk35z5r2h5ki3p3pdcmw1vqzmly6id"))))
+                 "0rfqvpbbqh4pa406nda54jdl0sgagdgp274mmbpd7g4lzjcr78lm"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f
+       #:cargo-inputs
        (("rust-protobuf" ,rust-protobuf-2)
         ("rust-protobuf-codegen" ,rust-protobuf-codegen-2))))
     (home-page "https://github.com/stepancheg/rust-protobuf/")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 04/15] gnu: Add rust-librespot-protocol.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (2 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 03/15] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 05/15] gnu: Add rust-password-hash-0.2 Steve George
                     ` (11 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-librespot-protocol): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e5e99b719..154e608724 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35587,6 +35587,30 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-protocol-0.4
+  (package
+    (name "rust-librespot-protocol")
+    (version "0.4.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "librespot-protocol" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17xkvhlxfkjh1z79pvq22nrxi99hcxnzafg0pdkymh3a3733lvax"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-protobuf" ,rust-protobuf-2)
+                            ("rust-glob" ,rust-glob-0.3)
+                            ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The protobuf logic for communicating with Spotify servers")
+    (description "Part of Librespot, an open source, Spotify client library.
+This package contains the protobuf logic.")
+    (license license:expat)))
+
+
 (define-public rust-libsqlite3-sys-0.26
   (package
     (name "rust-libsqlite3-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 05/15] gnu: Add rust-password-hash-0.2
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (3 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 04/15] gnu: Add rust-librespot-protocol Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 06/15] gnu: Add rust-pbkdf2-0.8 Steve George
                     ` (10 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-password-hash-0.2): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 154e608724..8726d322f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45975,6 +45975,25 @@ (define-public rust-password-hash-0.3
         ("rust-rand-core" ,rust-rand-core-0.6)
         ("rust-subtle" ,rust-subtle-2))))))
 
+(define-public rust-password-hash-0.2
+  (package
+    (inherit rust-password-hash-0.5)
+    (name "rust-password-hash")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "password-hash" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1rr4kd52ld978a2xhcvlc54p1d92yhxl9kvbajba7ia6rs5b5q3p"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-subtle" ,rust-subtle-2)
+                            ("rust-rand-core" ,rust-rand-core-0.6))))))
+
 (define-public rust-paste-1
   (package
     (name "rust-paste")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 06/15] gnu: Add rust-pbkdf2-0.8.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (4 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 05/15] gnu: Add rust-password-hash-0.2 Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1 Steve George
                     ` (9 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-pbkdf2-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8726d322f1..8dc22667d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46274,6 +46274,33 @@ (define-public rust-pbkdf2-0.9
         ("rust-sha2" ,rust-sha2-0.9)
         ("rust-streebog" ,rust-streebog-0.9))))))
 
+(define-public rust-pbkdf2-0.8
+  (package
+    (inherit rust-pbkdf2-0.10)
+    (name "rust-pbkdf2")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pbkdf2" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr"))))
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-crypto-mac" ,rust-crypto-mac-0.11)
+                            ("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-password-hash" ,rust-password-hash-0.2)
+                            ("rust-rayon" ,rust-rayon-1)
+                            ("rust-sha-1" ,rust-sha-1-0.9)
+                            ("rust-sha2" ,rust-sha2-0.9))
+           #:cargo-development-inputs `(("rust-hex-literal" ,rust-hex-literal-0.3)
+                                        ("rust-hmac" ,rust-hmac-0.11)
+                                        ("rust-rand-core" ,rust-rand-core-0.6)
+                                        ("rust-sha-1" ,rust-sha-1-0.9)
+                                        ("rust-sha2" ,rust-sha2-0.9))))))
+
 (define-public rust-pbkdf2-0.6
   (package
     (inherit rust-pbkdf2-0.10)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (5 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 06/15] gnu: Add rust-pbkdf2-0.8 Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 08/15] gnu: Add rust-shannon Steve George
                     ` (8 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-priority-queue-1): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8dc22667d1..83e6f11b05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49513,6 +49513,33 @@ (define-public rust-print-bytes-0.4
        #:cargo-development-inputs
        (("rust-os-str-bytes" ,rust-os-str-bytes-2))))))
 
+(define-public rust-priority-queue-1
+  (package
+    (name "rust-priority-queue")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "priority-queue" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                 "1id9vzrypiilraw4wd5lh577prkjgyhd5vv77rdcgb7kkbcq4l41"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-indexmap" ,rust-indexmap-1)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-autocfg" ,rust-autocfg-1))
+           #:cargo-development-inputs `(("rust-hashbrown" ,rust-hashbrown-0.9)
+                                        ("rust-serde-json" ,rust-serde-json-1)
+                                        ("rust-serde-test" ,rust-serde-test-1)
+                                        ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page "https://github.com/garro95/priority-queue")
+    (synopsis "Efficient priority queue implemented as a heap")
+    (description "An efficient priority queue with a function to change the
+priority of an object.")
+    (license license:expat)))
+
 (define-public rust-proc-macro-crate-1
   (package
     (name "rust-proc-macro-crate")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 08/15] gnu: Add rust-shannon
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (6 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1 Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 09/15] gnu: Add rust-librespot-core Steve George
                     ` (7 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-shannon): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83e6f11b05..9aa975cf42 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61586,6 +61586,28 @@ (define-public rust-shadow-rs-0.8
 exactly where a binary came from and how it was built.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-shannon-0.2
+  (package
+    (name "rust-shannon")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "shannon" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0qa52zs4y1i87ysr11g9p6shpdagl14bb340gfm6rd97jhfb99by"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1))))
+    (home-page "https://docs.rs/shannon/0.2.0/shannon/")
+    (synopsis "Shannon cipher implementation")
+    (description
+     "A Shannon cipher implementation, that encrypts a message using a
+shared secret key.")
+    (license license:expat)))
+
 (define-public rust-sharded-slab-0.1
   (package
     (name "rust-sharded-slab")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 09/15] gnu: Add rust-librespot-core.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (7 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 08/15] gnu: Add rust-shannon Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr Steve George
                     ` (6 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-librespot-core): New variable.
---
 gnu/packages/crates-io.scm | 60 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9aa975cf42..ffc7891ee8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35587,6 +35587,66 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-core-0.4
+  (package
+    (name "rust-librespot-core")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vaxnnlnsx8bmphiikm4kb99795jch0xxifr0azl9rl8b3r4jqq4"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-test-flags ``("--release" "--" "--skip=test_connection"
+                                 "--skip=test_apresolve"
+                                 "--skip=test_apresolve_port_443")
+           #:skip-build? #f
+           #:cargo-inputs `(("rust-aes" ,rust-aes-0.6)
+                            ("rust-base64" ,rust-base64-0.13)
+                            ("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-bytes" ,rust-bytes-1)
+                            ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+                            ("rust-futures-core" ,rust-futures-core-0.3)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-http" ,rust-http-0.2)
+                            ("rust-httparse" ,rust-httparse-1)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-hyper-proxy" ,rust-hyper-proxy-0.9)
+                            ("rust-librespot-protocol" ,rust-librespot-protocol-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-num-bigint" ,rust-num-bigint-0.4)
+                            ("rust-num-integer" ,rust-num-integer-0.1)
+                            ("rust-num-traits" ,rust-num-traits-0.2)
+                            ("rust-once-cell" ,rust-once-cell-1)
+                            ("rust-pbkdf2" ,rust-pbkdf2-0.8)
+                            ("rust-priority-queue" ,rust-priority-queue-1)
+                            ("rust-protobuf" ,rust-protobuf-2)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-sha-1" ,rust-sha-1-0.10)
+                            ("rust-shannon" ,rust-shannon-0.2)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+                            ("rust-tokio-util" ,rust-tokio-util-0.7)
+                            ("rust-url" ,rust-url-2)
+                            ("rust-uuid" ,rust-uuid-1)
+                            ("rust-vergen" ,rust-vergen-3))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.9)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The core functionality provided by librespot")
+    (description
+     "Part of Librespot, an open source client library for
+Spotify.  This package contains core functionality, such as authentication,
+channel and session.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (8 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 09/15] gnu: Add rust-librespot-core Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 11/15] gnu: Add rust-librespot-audio Steve George
                     ` (5 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-aes-ctr): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffc7891ee8..f1e21aa76f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2106,6 +2106,34 @@ (define-public rust-aes-0.3
         ("rust-aesni" ,rust-aesni-0.6)
         ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
 
+(define-public rust-aes-ctr-0.6
+  (package
+    (name "rust-aes-ctr")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes-ctr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:skip-build? #f
+      #:cargo-inputs `(("rust-aesni" ,rust-aesni-0.10)
+                       ("rust-aes-soft" ,rust-aes-soft-0.6)
+                       ("rust-cipher" ,rust-cipher-0.2)
+                       ("rust-ctr" ,rust-ctr-0.6))
+      #:cargo-development-inputs `(("rust-cipher" ,rust-cipher-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers/tree/master/aes")
+    (synopsis "Pure Rust implementation of AES")
+    (description
+     "A pure Rust implementation of the Advanced Encryption
+Standard (AES).  Use the AES crate if possible, as the aes-ctr has been
+into it.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-gcm-0.10
   (package
     (name "rust-aes-gcm")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 11/15] gnu: Add rust-librespot-audio.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (9 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 12/15] gnu: rust-if-addrs: Update to 0.7.0 Steve George
                     ` (4 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-librespot-audio): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1e21aa76f..0d91643cef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35615,6 +35615,35 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-audio-0.4
+  (package
+    (name "rust-librespot-audio")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-audio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6)
+                            ("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-bytes" ,rust-bytes-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-librespot-core" ,rust-librespot-core-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-tempfile" ,rust-tempfile-3)
+                            ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The audio fetching logic for Librespot")
+    (description
+     "Part of Librespot, an open source client library
+for Spotify.  This package contains the audio fetching logic.")
+    (license license:expat)))
+
 (define-public rust-librespot-core-0.4
   (package
     (name "rust-librespot-core")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 12/15] gnu: rust-if-addrs: Update to 0.7.0
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (10 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 11/15] gnu: Add rust-librespot-audio Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 13/15] gnu: rust-libmdns: Update to 0.7.5 Steve George
                     ` (3 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-if-addrs): Update to 0.7.0
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d91643cef..f4f1d04fe2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31420,22 +31420,21 @@ (define-public rust-ieee754-0.2
 floating-point numbers.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-if-addrs-0.6
+(define-public rust-if-addrs-0.7
   (package
     (name "rust-if-addrs")
-    (version "0.6.7")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "if-addrs" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "if-addrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a81w57p0hx6ql2ds2ayps38n0ndfaqcs618qzdyjln7zw0zmh6b"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
+     (list #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+                            ("rust-winapi" ,rust-winapi-0.3))))
     (native-inputs (list iproute))
     (home-page "https://github.com/messense/if-addrs")
     (synopsis "Return interface IP addresses on POSIX and Windows systems")
@@ -31443,6 +31442,23 @@ (define-public rust-if-addrs-0.6
 on both POSIX and Microsoft Windows hosts.")
     (license (list license:expat license:bsd-3))))
 
+(define-public rust-if-addrs-0.6
+  (package
+    (inherit rust-if-addrs-0.7)
+    (name "rust-if-addrs")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "if-addrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-if-addrs-sys-0.3
   (package
     (name "rust-if-addrs-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 13/15] gnu: rust-libmdns: Update to 0.7.5.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (11 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 12/15] gnu: rust-if-addrs: Update to 0.7.0 Steve George
@ 2023-10-20 20:27   ` Steve George
  2023-10-20 20:28   ` [bug#66579] [PATCH v2 14/15] gnu: Add rust-librespot-discovery Steve George
                     ` (2 subsequent siblings)
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:27 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-libmdns): Update to 0.7.5
---
 gnu/packages/crates-io.scm | 70 ++++++++++++++++++++++++++------------
 1 file changed, 49 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4f1d04fe2..527ced031c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35367,39 +35367,67 @@ (define-public rust-libmimalloc-sys-0.1
 allocator.")
     (license license:expat)))
 
-(define-public rust-libmdns-0.6
+(define-public rust-libmdns-0.7
   (package
     (name "rust-libmdns")
-    (version "0.6.3")
+    (version "0.7.5")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "libmdns" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+               (base32
+                "0470r44w3wkwg785wv1j9x8i65qa6v0ygrzh4vg9mcdkarmsw10b"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-byteorder" ,rust-byteorder-1)
-        ("rust-futures-util" ,rust-futures-util-0.3)
-        ("rust-hostname" ,rust-hostname-0.3)
-        ("rust-if-addrs" ,rust-if-addrs-0.6)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-multimap" ,rust-multimap-0.8)
-        ("rust-rand" ,rust-rand-0.8)
-        ("rust-socket2" ,rust-socket2-0.4)
-        ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-tokio" ,rust-tokio-1))
-       #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.8))))
+     (list #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hostname" ,rust-hostname-0.3)
+                            ("rust-if-addrs" ,rust-if-addrs-0.7)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-multimap" ,rust-multimap-0.8)
+                            ("rust-nix" ,rust-nix-0.23)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-socket2" ,rust-socket2-0.4)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-winapi" ,rust-winapi-0.3))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.8))))
     (home-page "https://github.com/librespot-org/libmdns")
-    (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
-    (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
-(RFC 6763) library.  Used for resolution of hostnames to IP addresses on
-networks that do not have a local name server.  Network services can be
-advertised and discovered using this mechanism.")
+    (synopsis
+     "DNS-SD and mDNS library for building discoverable LAN services")
+    (description
+     "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery (RFS 6763)
+library.  Used for resolution of hostnames to IP addresses on networks that
+do not have a local name server.  Network services can be advertised and
+discovered using this mechanism.")
     (license license:expat)))
 
+(define-public rust-libmdns-0.6
+  (package
+    (inherit rust-libmdns-0.7)
+    (name "rust-libmdns")
+    (version "0.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libmdns" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-futures-util" ,rust-futures-util-0.3)
+                            ("rust-hostname" ,rust-hostname-0.3)
+                            ("rust-if-addrs" ,rust-if-addrs-0.6)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-multimap" ,rust-multimap-0.8)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-socket2" ,rust-socket2-0.4)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1))
+           #:cargo-development-inputs `(("rust-env-logger" ,rust-env-logger-0.8))))))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 14/15] gnu: Add rust-librespot-discovery.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (12 preceding siblings ...)
  2023-10-20 20:27   ` [bug#66579] [PATCH v2 13/15] gnu: rust-libmdns: Update to 0.7.5 Steve George
@ 2023-10-20 20:28   ` Steve George
  2023-10-20 20:28   ` [bug#66579] [PATCH v2 15/15] gnu: Add rust-librespot-metadata Steve George
  2023-10-22  8:37   ` bug#66579: [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Efraim Flashner
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:28 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-librespot-discovery): New variable.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 527ced031c..7729e1a569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35748,6 +35748,45 @@ (define-public rust-librespot-core-0.4
 channel and session.")
     (license license:expat)))
 
+(define-public rust-librespot-discovery-0.4
+  (package
+    (name "rust-librespot-discovery")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-discovery" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01igbv0xf3vj046jvblbr09cgmv25mlfajyb2903cl31iz8pga1a"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6)
+                            ("rust-base64" ,rust-base64-0.13)
+                            ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+                            ("rust-futures-core" ,rust-futures-core-0.3)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-hyper" ,rust-hyper-0.14)
+                            ("rust-libmdns" ,rust-libmdns-0.7)
+                            ("rust-librespot-core" ,rust-librespot-core-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-rand" ,rust-rand-0.8)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-sha-1" ,rust-sha-1-0.9)
+                            ("rust-thiserror" ,rust-thiserror-1)
+                            ("rust-tokio" ,rust-tokio-1)
+                            ("rust-dns-sd" ,rust-dns-sd-0.1))
+           #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.3)
+                                        ("rust-hex" ,rust-hex-0.4)
+                                        ("rust-simple-logger" ,rust-simple-logger-2)
+                                        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The discovery logic of Librespot")
+    (description "Part of Librespot, an open source client library for
+Spotify.  This package contains the discovery logic.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [bug#66579] [PATCH v2 15/15] gnu: Add rust-librespot-metadata.
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (13 preceding siblings ...)
  2023-10-20 20:28   ` [bug#66579] [PATCH v2 14/15] gnu: Add rust-librespot-discovery Steve George
@ 2023-10-20 20:28   ` Steve George
  2023-10-22  8:37   ` bug#66579: [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Efraim Flashner
  15 siblings, 0 replies; 33+ messages in thread
From: Steve George @ 2023-10-20 20:28 UTC (permalink / raw)
  To: 66579; +Cc: steve, efraim

* gnu/packages/crates-io.scm (rust-librespot-metadata): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7729e1a569..04e845a0db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35787,6 +35787,32 @@ (define-public rust-librespot-discovery-0.4
 Spotify.  This package contains the discovery logic.")
     (license license:expat)))
 
+(define-public rust-librespot-metadata-0.4
+  (package
+    (name "rust-librespot-metadata")
+    (version "0.4.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "librespot-metadata" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "07626b84cghd3jabdvyqhn1v0lax9p1hhz6ldw2r4l6brcgkd03b"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-async-trait" ,rust-async-trait-0.1)
+                            ("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-librespot-core" ,rust-librespot-core-0.4)
+                            ("rust-librespot-protocol" ,rust-librespot-protocol-0.4)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-protobuf" ,rust-protobuf-2))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "The metadata elements of Librespot")
+    (description "Part of Librespot, an open source client library for
+Spotify.  This package contains the metadata logic.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 33+ messages in thread

* bug#66579: [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery
  2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
                     ` (14 preceding siblings ...)
  2023-10-20 20:28   ` [bug#66579] [PATCH v2 15/15] gnu: Add rust-librespot-metadata Steve George
@ 2023-10-22  8:37   ` Efraim Flashner
  15 siblings, 0 replies; 33+ messages in thread
From: Efraim Flashner @ 2023-10-22  8:37 UTC (permalink / raw)
  To: Steve George; +Cc: 66579-done

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

Thanks. Patches pushed!

On Fri, Oct 20, 2023 at 09:27:46PM +0100, Steve George wrote:
> Part of a series to add librespot 0.4.2 - this covers the following parts:
> 
>    * rust-hyper-proxy-0.9: new variable
>      * rust-protobuf: update to 2.28
>      * rust-protobuf-codegen & rust-protobuf-codegen-pure: update to 2.28
>    * rust-librespot-protocol: new variable
>      * rust-password-hash: new variable
>    * rust-pbkdf2: new variable
>    * rust-priority-queue-1: new variable
>    * rust-shannon: new variable
> * rust-librespot-core: new variable
> 
>   * rust-aes-ctr: new variable <-- NEW
> * rust-librespot-audio: new variable
> 
>      * rust-if-addrs: add new version
>    * rust-libmdns: add new version
> * rust-librespot-discovery: new variable
> 
> * rust-librespot-metadata: new variable
> 
> 
> base-commit: 4ec6fd7817ec4073547fd71309374a293d7c436c
> -- 
> 2.41.0
> 
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2023-10-22  8:38 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 02/13] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 03/13] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 04/13] gnu: Add rust-librespot-protocol Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 05/13] gnu: Add rust-password-hash-0.2 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 07/13] gnu: Add rust-priority-queue-1 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 08/13] gnu: Add rust-shannon Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 09/13] gnu: Add rust-librespot-core Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio Steve George
2023-10-20  9:30   ` Christopher Baines
2023-10-20 17:02     ` Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 11/13] gnu: rust-if-addrs: Update to 0.7.0 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 12/13] gnu: rust-libmdns: Update to 0.7.5 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery Steve George
2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 02/15] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 03/15] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 04/15] gnu: Add rust-librespot-protocol Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 05/15] gnu: Add rust-password-hash-0.2 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 06/15] gnu: Add rust-pbkdf2-0.8 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 08/15] gnu: Add rust-shannon Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 09/15] gnu: Add rust-librespot-core Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 11/15] gnu: Add rust-librespot-audio Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 12/15] gnu: rust-if-addrs: Update to 0.7.0 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 13/15] gnu: rust-libmdns: Update to 0.7.5 Steve George
2023-10-20 20:28   ` [bug#66579] [PATCH v2 14/15] gnu: Add rust-librespot-discovery Steve George
2023-10-20 20:28   ` [bug#66579] [PATCH v2 15/15] gnu: Add rust-librespot-metadata Steve George
2023-10-22  8:37   ` bug#66579: [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.