Subject: [PATCH 1/7] gnu: Add rust-octocrab-0.39.

From: Alex Bosco <[email-masked]>
Date: Sat, 8 Mar 2025 13:16:24 +0000

Change-Id: I45d7a2e138608ebfee59acbb6c6d38a40ac11c6d
Signed-off-by: Alex Bosco <[email-masked]>
---
 gnu/packages/crates-io.scm | 54 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68c52b2772..dc71305675 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49411,6 +49411,60 @@ (define-public rust-octocrab-0.41
      "This package provides a modern, extensible @code{GitHub} API client.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-octocrab-0.39
+  (package
+    (inherit rust-octocrab-0.41)
+    (name "rust-octocrab")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "octocrab" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00a19h6xpcbpf9dcim9pbvz1awfasvlwjnfn5gsd1v23jp4y81ck"))))
+    (arguments
+     `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-base64" ,rust-base64-0.22)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-either" ,rust-either-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-1)
+                       ("rust-http-body" ,rust-http-body-1)
+                       ("rust-http-body-util" ,rust-http-body-util-0.1)
+                       ("rust-hyper" ,rust-hyper-1)
+                       ("rust-hyper-rustls" ,rust-hyper-rustls-0.26)
+                       ("rust-hyper-timeout" ,rust-hyper-timeout-0.5)
+                       ("rust-hyper-tls" ,rust-hyper-tls-0.6)
+                       ("rust-hyper-util" ,rust-hyper-util-0.1)
+                       ("rust-jsonwebtoken" ,rust-jsonwebtoken-9)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-percent-encoding" ,rust-percent-encoding-2)
+                       ("rust-pin-project" ,rust-pin-project-1)
+                       ("rust-secrecy" ,rust-secrecy-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+                       ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+                       ("rust-snafu" ,rust-snafu-0.8)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tower" ,rust-tower-0.4)
+                       ("rust-tower-http" ,rust-tower-http-0.5)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs (("rust-base64" ,rust-base64-0.22)
+                                   ("rust-crypto-box" ,rust-crypto-box-0.8)
+                                   ("rust-graphql-client" ,rust-graphql-client-0.14)
+                                   ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-tokio-test" ,rust-tokio-test-0.4)
+                                   ("rust-wiremock" ,rust-wiremock-0.6))))))
+
 (define-public rust-odbc-api-0.36
   (package
     (name "rust-odbc-api")
-- 
2.48.1