guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

262/299: gnu: Add rust-utf-8-0.7.


From: guix-commits
Subject: 262/299: gnu: Add rust-utf-8-0.7.
Date: Thu, 2 Jan 2020 13:20:00 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 0c5b3abe7b41b010c5777b876d1e0f6171e2b7df
Author: John Soo <address@hidden>
Date:   Fri Dec 20 08:31:56 2019 -0800

    gnu: Add rust-utf-8-0.7.
    
    * gnu/packges/crates-io.scm (rust-utf-8-0.7): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1584805..6606053 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11178,6 +11178,28 @@ untrusted inputs in Rust.")
      "URL library for Rust, based on the WHATWG URL Standard.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-utf-8-0.7
+  (package
+    (name "rust-utf-8")
+    (version "0.7.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "utf-8" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1iw5rp4i3mfi9k51picbr5bgjqhjcmnxx7001clh5ydq31y2zr05"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/SimonSapin/rust-utf8";)
+    (synopsis
+     "Incremental, zero-copy UTF-8 decoding with error handling")
+    (description
+     "Incremental, zero-copy UTF-8 decoding with error handling.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-utf8-ranges-1.0
   (package
     (name "rust-utf8-ranges")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]