summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 08:22:53 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:41 +0200
commit22e2e2de3f2c39eff1c821a9725171c73ad6e49d (patch)
treecd6674c9a852b020f786d2ee8a9662a96717ae98 /gnu
parenta4be6e9c894c9a9a2a50cec17ae4e54d3d64c221 (diff)
gnu: Add rust-url-1.7.
* gnu/packages/crates-io.scm (rust-url-1.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cd2d146cd..16e1345286 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8653,6 +8653,41 @@ untrusted inputs in Rust.")
(properties '((hidden? . #t)))
(license license:isc)))
+(define-public rust-url-1.7
+ (package
+ (name "rust-url")
+ (version "1.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "url" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nim1c90mxpi9wgdw2xh8dqd72vlklwlzam436akcrhjac6pqknx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-encoding" ,rust-encoding-0.2)
+ ("rust-heapsize" ,rust-heapsize-0.4)
+ ("rust-idna" ,rust-idna-0.1)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-percent-encoding" ,rust-percent-encoding-1.0)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-rustc-test" ,rust-rustc-test-0.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
+ (home-page "https://github.com/servo/rust-url")
+ (synopsis "URL library for Rust, based on the WHATWG URL Standard")
+ (description
+ "URL library for Rust, based on the WHATWG URL Standard.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-utf8-ranges-1.0
(package
(name "rust-utf8-ranges")