aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 13:54:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:27 +0300
commite11365fdadcadbcdba9ec5a76b299538a0552c03 (patch)
tree6324c17cd82e6d08a374460a3213c226f789356c
parentf22f05d901854add1208789919bca2e450f0f915 (diff)
downloadpatches-e11365fdadcadbcdba9ec5a76b299538a0552c03.tar
patches-e11365fdadcadbcdba9ec5a76b299538a0552c03.tar.gz
gnu: Add rust-percent-encoding.
* gnu/packages/creates-io.scm (rust-percent-encoding): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f8632518a2..76b70de03c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -394,6 +394,25 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}.
(license (list license:asl2.0
license:expat))))
+(define-public rust-percent-encoding
+ (package
+ (name "rust-percent-encoding")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "percent-encoding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/servo/rust-url/")
+ (synopsis "Percent encoding and decoding")
+ (description "This crate provides percent encoding and decoding.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")