summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:54:03 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:48 +0200
commit0e4c93e676faf78a59b43fe52cf615558834a5e8 (patch)
tree0a59c31b938338477c31605d7537b62f5750cf03
parent22b2c6e0ed75b13c7dae7e64e3f7ec2c6f854c43 (diff)
gnu: Add rust-urlencoding-2.
* gnu/packages/crates-io.scm (rust-urlencoding-2): New variable. (rust-urlencoding-1): Inherit from rust-urlencoding-2. Change-Id: I8520fc07270c73807eaa25f9906d421dd6ecd75f Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5dffaa7d37..cdf2b7b2ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81553,26 +81553,38 @@ comparable to calling @code{unwrap_err()}.")
("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))
(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")