summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 13:33:55 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:18 +0200
commite05162fe16ff6623bb13e8c128a7e1c0eee6a47f (patch)
treea3f9733aba648ba395f6307a4c62548442135c83
parent9217494fb916d19856f3e8fcf5d287ec67ffce65 (diff)
gnu: Add rust-ascii-0.9.
* gnu/packages/crates-io.scm (rust-ascii-0.9): New variables. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f00b6b85a..2e7347cfc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -128,6 +128,33 @@ array (it can be stored on the stack too). Implements fixed capacity
ArrayVec and ArrayString.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ascii-0.9
+ (package
+ (name "rust-ascii")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ascii" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dck6rsjnxlczyjnncn8hf16bxj42m1vi6s2n32c1jg2ijd9dz55"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page "https://github.com/tomprogrammer/rust-ascii")
+ (synopsis
+ "ASCII-only equivalents to char, str and String")
+ (description
+ "ASCII-only equivalents to @code{char}, @code{str} and @code{String}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-atty-0.2
(package
(name "rust-atty")