summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 08:17:48 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:41 +0200
commit15466f9acdca23a874ceaeaa15df18deab96738b (patch)
tree9579e254b5d790db81a0473ca596f14deb114759
parent74ec6545e9e2be5abc63250b67abbb1516cda7f7 (diff)
gnu: Add rust-idna-0.1.
* gnu/packages/crates-io.scm (rust-idna-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d23b5591f6..84410a6428 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3377,6 +3377,35 @@ SystemTime}}.")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-idna-0.1
+ (package
+ (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"))))
+ (build-system cargo-build-system)
+ (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))))
+ (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-indexmap-1.0
(package
(name "rust-indexmap")