unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 71076@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#71076] [PATCH 06/81] gnu: Add rust-jsonwebtoken-9.
Date: Mon, 20 May 2024 10:58:11 +0200	[thread overview]
Message-ID: <aa39473906720c12732145f76221ffc8d431725f.1716193122.git.herman@rimm.ee> (raw)
In-Reply-To: <cover.1716193122.git.herman@rimm.ee>

* gnu/packages/crates-web.scm (rust-jsonwebtoken-9): Add variable.
(rust-jsonwebtoken-7): Inherit from rust-jsonwebtoken-9.

Change-Id: Id61aacdb553447da7ba5a4484f607efcc748fbe6
---
 gnu/packages/crates-web.scm | 38 +++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index f21f0c3398..1e0e0fc54c 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4227,8 +4227,39 @@ (define-public rust-json5-0.4
 which speaks Serde.")
     (license license:isc)))
 
+(define-public rust-jsonwebtoken-9
+  (package
+    (name "rust-jsonwebtoken")
+    (version "9.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jsonwebtoken" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gqr13c9fjd4zb2lqzhgi4xwq0rfnk8a47jzjis1w1957lci1bmr"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-base64-0.21
+                           rust-js-sys-0.3
+                           rust-pem-3
+                           rust-ring-0.17
+                           rust-serde-1
+                           rust-serde-json-1
+                           rust-simple-asn1-0.6)
+      #:cargo-development-inputs (list rust-criterion-0.4 rust-time-0.3
+                                       rust-wasm-bindgen-test-0.3)))
+    (home-page "https://github.com/Keats/jsonwebtoken")
+    (synopsis "Create and decode JWTs in a strongly typed way")
+    (description
+     "This package provides a strongly typed way to create and decode
+JWTs.")
+    (license license:expat)))
+
 (define-public rust-jsonwebtoken-7
   (package
+    (inherit rust-jsonwebtoken-9)
     (name "rust-jsonwebtoken")
     (version "7.2.0")
     (source
@@ -4238,7 +4269,6 @@ (define-public rust-jsonwebtoken-7
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0ciz205wcjcn7n6i871zz5xlbzk863b0ybgiqi7li9ipwhawraxg"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12)
                        ("rust-pem" ,rust-pem-0.8)
@@ -4246,11 +4276,7 @@ (define-public rust-jsonwebtoken-7
                        ("rust-serde" ,rust-serde-1)
                        ("rust-serde-json" ,rust-serde-json-1)
                        ("rust-simple-asn1" ,rust-simple-asn1-0.4))
-       #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4))))
-    (home-page "https://github.com/Keats/jsonwebtoken")
-    (synopsis "Create and decode JWTs in a strongly typed way")
-    (description "Create and decode JWTs in a strongly typed way.")
-    (license license:expat)))
+       #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4))))))
 
 (define-public rust-mas-http-0.7
   (package
-- 
2.41.0





  parent reply	other threads:[~2024-05-20  9:01 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-20  8:55 [bug#71076] [PATCH 00/81] Add matrix-conduit and ruma-0.10 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 01/81] build-system: cargo: Accept unlabeled #:cargo-inputs Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 02/81] gnu: Add rust-iri-string-0.4 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 03/81] gnu: Add rust-tower-http-0.3 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 04/81] gnu: Add rust-axum-server-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 05/81] gnu: Add rust-simple-asn1-0.6 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` Herman Rimm via Guix-patches via [this message]
2024-05-20  8:58 ` [bug#71076] [PATCH 07/81] gnu: Add rust-zigzag-0.1 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 08/81] gnu: Add rust-asynchronous-codec-0.7 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 09/81] gnu: Add rust-unsigned-varint-0.8 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 10/81] gnu: Add rust-persy-1 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 11/81] gnu: Add rust-const-str-proc-macro-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 12/81] gnu: Add rust-const-str-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 13/81] gnu: Add rust-rust-librocksdb-sys-0.20 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 14/81] gnu: Add rust-rust-rocksdb-0.24 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 15/81] gnu: Add rust-tikv-jemalloc-sys-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 16/81] gnu: Add rust-tikv-jemallocator-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 17/81] gnu: Add rust-tikv-jemalloc-ctl-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 18/81] gnu: Add rust-tracing-flame-0.2 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 19/81] gnu: Add rust-opentelemetry-api-0.18 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 20/81] gnu: Add rust-opentelemetry-http-0.7 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 21/81] gnu: Add rust-opentelemetry-sdk-0.18 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 22/81] gnu: Add rust-opentelemetry-0.18 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 23/81] gnu: Add rust-opentelemetry-semantic-conventions-0.10 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 24/81] gnu: Add rust-prost-types-0.9 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 25/81] gnu: Add rust-thrift-0.16 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 26/81] gnu: Add rust-opentelemetry-jaeger-0.17 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 27/81] gnu: Add rust-tracing-opentelemtry-0.18 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 28/81] gnu: Add rust-rust-argon2-1 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 29/81] gnu: Add rust-ruma-0.9-1.5495b85 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 30/81] gnu: Add matrix-conduit Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 31/81] gnu: Add rust-rustls-platform-verifier-android-0.1 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 32/81] gnu: Add rust-android-log-sys-0.3 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 33/81] gnu: Add rust-android-logger-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 34/81] gnu: rust-security-framework-sys-2: Update to 2.11.0 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 35/81] gnu: rust-security-framework-2: " Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 36/81] gnu: rust-webpki-0.102: Update to 0.102.4 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 37/81] gnu: Add rust-rustls-platform-verifier-0.3 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 38/81] gnu: Add rust-oid-registry-0.7 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 39/81] gnu: Add rust-der-parser-9 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 40/81] gnu: Add rust-synstructure-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 41/81] gnu: Add rust-asn1-rs-derive-0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 42/81] gnu: Add rust-asn1-rs-impl-0.2 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 43/81] gnu: Add rust-asn1-rs-0.6 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 44/81] gnu: Add rust-x509-parser-0.16 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 45/81] gnu: rust-rustls-pki-types-1: Update to 1.7.0 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 46/81] gnu: Add rust-rcgen-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 47/81] gnu: Add rust-rustls-0.23 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 48/81] gnu: Add rust-base64-0.22 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 49/81] gnu: Add rust-tokio-rustls-0.26 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 50/81] gnu: Add rust-hyper-rustls-0.27 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 51/81] gnu: Add rust-hyper-tls-0.6 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 52/81] gnu: Add rust-h3-0.0.4 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 53/81] gnu: Add rust-h3-quinn-0.0.5 Herman Rimm via Guix-patches via
2024-05-20  8:58 ` [bug#71076] [PATCH 54/81] gnu: rust-pin-project-internal-1: Update to 1.1.5 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 55/81] gnu: rust-pin-project-1: " Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 56/81] gnu: Add rust-wasm-streams-0.4 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 57/81] gnu: Add rust-reqwest-0.12 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 58/81] gnu: rust-ruma-identifiers-validation-0.9: Update to 0.9.5 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 59/81] gnu: Add rust-ruma-macros-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 60/81] gnu: rust-http-1: Update to 1.1.0 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 61/81] gnu: Add rust-ruma-common-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 62/81] gnu: Add rust-markup5ever-0.12 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 63/81] gnu: rust-typed-arena-2: Update to 2.0.2 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 64/81] gnu: Add rust-html5ever-0.27 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 65/81] gnu: Add rust-ruma-html-0.2 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 66/81] gnu: Add rust-pulldown-cmark-escape-0.10 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 67/81] gnu: Add rust-pulldown-cmark-0.10 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 68/81] gnu: Add rust-ruma-events-0.28 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 69/81] gnu: Add rust-ruma-state-res-0.11 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 70/81] gnu: Add rust-ruma-signatures-0.15 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 71/81] gnu: Add rust-ruma-server-util-0.3 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 72/81] gnu: Add rust-ruma-push-gateway-api-0.9 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 73/81] gnu: Add rust-ruma-identity-service-api-0.9 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 74/81] gnu: Add rust-ruma-federation-api-0.9 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 75/81] gnu: Add rust-date-header-1 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 76/81] gnu: Add rust-ruma-client-api-0.18 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 77/81] gnu: rust-http-body-util-0.1: Update to 0.1.1 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 78/81] gnu: rust-hyper-1: Update to 1.3.1 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 79/81] gnu: Add rust-ruma-client-0.13 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 80/81] gnu: Add rust-ruma-appservice-api-0.10 Herman Rimm via Guix-patches via
2024-05-20  8:59 ` [bug#71076] [PATCH 81/81] gnu: Add rust-ruma-0.10 Herman Rimm via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa39473906720c12732145f76221ffc8d431725f.1716193122.git.herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=71076@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=herman@rimm.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).