me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-idna-0.5.

* gnu/packages/crates-io.scm (rust-idna-0.5): New variable.
(rust-idna-0.4): Inherit from rust-idna-0.5.

Change-Id: I9b0d7bf73654cb6c481847193254f532b4dab17c
master
Efraim Flashner 2023-12-24 09:57:00 +02:00
parent a2b0f0ff7a
commit c491dd3dcc
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 7 deletions

View File

@ -37560,8 +37560,34 @@ with hyper.")
"Utility for applying case rules to Rust identifiers.")
(license (list license:expat license:asl2.0))))
(define-public rust-idna-0.5
(package
(name "rust-idna")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "idna" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xhjrcjqq0l5bpzvdgylvpkgk94panxgsirzhjnnqfdgc4a9nkb3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
("rust-unicode-normalization" ,rust-unicode-normalization-0.1))
#:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
("rust-bencher" ,rust-bencher-0.1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tester" ,rust-tester-0.9))))
(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.4
(package
(inherit rust-idna-0.5)
(name "rust-idna")
(version "0.4.0")
(source (origin
@ -37571,7 +37597,6 @@ with hyper.")
(sha256
(base32
"0z4i1dhqk83bbv230pp1c31dqdlnscvqxvc85n40ihgvgfqdc83x"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
@ -37580,12 +37605,7 @@ with hyper.")
(("rust-assert-matches" ,rust-assert-matches-1)
("rust-bencher" ,rust-bencher-0.1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tester" ,rust-tester-0.9))))
(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))))
("rust-tester" ,rust-tester-0.9))))))
(define-public rust-idna-0.3
(package