me
/
guix
Archived
1
0
Fork 0

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>
master
Wilko Meyer 2024-01-08 02:54:03 +01:00 committed by Efraim Flashner
parent 22b2c6e0ed
commit 0e4c93e676
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 20 additions and 8 deletions

View File

@ -81553,8 +81553,27 @@ comparable to calling @code{unwrap_err()}.")
("rust-rustc-test" ,rust-rustc-test-0.3) ("rust-rustc-test" ,rust-rustc-test-0.3)
("rust-serde-json" ,rust-serde-json-1)))))) ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-urlencoding-2
(package
(name "rust-urlencoding")
(version "2.1.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "urlencoding" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1nj99jp37k47n0hvaz5fvz7z6jd0sb4ppvfy3nphr1zbnyixpy6s"))))
(build-system cargo-build-system)
(home-page "https://lib.rs/urlencoding")
(synopsis "A Rust library for doing URL percentage encoding.")
(description
"This package provides a Rust library for doing URL percentage encoding.")
(license license:expat)))
(define-public rust-urlencoding-1 (define-public rust-urlencoding-1
(package (package
(inherit rust-urlencoding-2)
(name "rust-urlencoding") (name "rust-urlencoding")
(version "1.1.1") (version "1.1.1")
(source (source
@ -81564,14 +81583,7 @@ comparable to calling @code{unwrap_err()}.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9")))) (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9"))))
(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")
(description
"This package provides a Rust library for doing URL percentage
encoding.")
(license license:expat)))
(define-public rust-users-0.11 (define-public rust-users-0.11
(package (package