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>master
parent
a4be6e9c89
commit
22e2e2de3f
|
@ -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")
|
||||
|
|
Reference in New Issue