Subject: [PATCH 146/156] gnu: Add rust-urlencoding-2.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:54:03 +0100

* gnu/packages/crates-io.scm (rust-urlencoding-2): New variable.
(rust-urlencoding-1): Inherit from rust-urlencoding-2.

Change-Id: I8520fc07270c73807eaa25f9906d421dd6ecd75f
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a42d23806e..37d0d65ba5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83316,26 +83316,40 @@ (define-public rust-url-1
         ("rust-rustc-test" ,rust-rustc-test-0.3)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
-(define-public rust-urlencoding-1
+(define-public rust-urlencoding-2
   (package
     (name "rust-urlencoding")
-    (version "1.1.1")
+    (version "2.1.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "urlencoding" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9"))))
+        (base32 "1nj99jp37k47n0hvaz5fvz7z6jd0sb4ppvfy3nphr1zbnyixpy6s"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:skip-build? #t))
     (home-page "https://lib.rs/urlencoding")
-    (synopsis "Rust library for doing URL percentage encoding")
+    (synopsis "A Rust library for doing URL percentage encoding.")
     (description
-     "This package provides a Rust library for doing URL percentage
-encoding.")
+     "This package provides a Rust library for doing URL percentage encoding.")
     (license license:expat)))
 
+(define-public rust-urlencoding-1
+  (package
+    (inherit rust-urlencoding-2)
+    (name "rust-urlencoding")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "urlencoding" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-users-0.11
   (package
     (name "rust-users")
-- 
2.41.0