aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 12:10:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:22 +0300
commitff901328101a75d25bc4533a37f279bac2741068 (patch)
treee571715dc426c73134085dfcdc25f8d2608d7bab
parentcaf6a690ea768d90cd7c2f7518295ee5e1458a00 (diff)
downloadguix-ff901328101a75d25bc4533a37f279bac2741068.tar
guix-ff901328101a75d25bc4533a37f279bac2741068.tar.gz
gnu: Add rust-unicase.
* gnu/packages/crates-io.scm (rust-unicase): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f7f338ac6..3c8930d9bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1802,6 +1802,28 @@ with the Unicode character database.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-unicase
+ (package
+ (name "rust-unicase")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "unicase" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
+ (home-page "https://github.com/seanmonstar/unicase")
+ (synopsis "Case-insensitive wrapper around strings")
+ (description
+ "A case-insensitive wrapper around strings.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-unicode-width
(package
(name "rust-unicode-width")