diff options
author | John Soo <jsoo1@asu.edu> | 2020-01-15 07:40:44 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-20 16:42:15 +0200 |
commit | cd088ebe89941ae7188b77b071d951d2cce96447 (patch) | |
tree | ee38fbd259465a400060bb74faa13e4f9684ae5b /gnu/packages | |
parent | 28c006321ff838188698bc99e135ca0884714c10 (diff) | |
download | guix-cd088ebe89941ae7188b77b071d951d2cce96447.tar.gz guix-cd088ebe89941ae7188b77b071d951d2cce96447.zip |
gnu: Add rust-idna-0.2.
* gnu/packages/crates-io.scm (rust-idna-0.2): New variable.
(rust-idna-0.1): Inherit from rust-idna-0.2.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a3bdfa0500..6ec29d61c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4490,10 +4490,10 @@ SystemTime}}.") "Get hostname for Rust.") (license license:expat))) -(define-public rust-idna-0.1 +(define-public rust-idna-0.2 (package (name "rust-idna") - (version "0.1.5") + (version "0.2.0") (source (origin (method url-fetch) @@ -4502,7 +4502,7 @@ SystemTime}}.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kl4gs5kaydn4v07c6ka33spm9qdh2np0x7iw7g5zd8z1c7rxw1q")))) + "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -4511,14 +4511,38 @@ SystemTime}}.") ("rust-unicode-bidi" ,rust-unicode-bidi-0.3) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) #:cargo-development-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-rustc-test" ,rust-rustc-test-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 "Internationalizing Domain Names in Applications and Punycode") (description "IDNA (Internationalizing Domain Names in Applications) and Punycode.") (license (list license:expat license:asl2.0)))) +(define-public rust-idna-0.1 + (package + (inherit rust-idna-0.2) + (name "rust-idna") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "idna" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kl4gs5kaydn4v07c6ka33spm9qdh2np0x7iw7g5zd8z1c7rxw1q")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-matches" ,rust-matches-0.1) + ("rust-unicode-bidi" ,rust-unicode-bidi-0.3) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs + (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-rustc-test" ,rust-rustc-test-0.3)))))) + (define-public rust-ignore-0.4 (package (name "rust-ignore") |