guix-commits
[Top][All Lists]
Advanced

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

66/85: gnu: Add rust-string-0.2.


From: guix-commits
Subject: 66/85: gnu: Add rust-string-0.2.
Date: Tue, 5 May 2020 07:56:34 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 5db08ef460a1f63763bcf8c9f9bf531ed17692db
Author: Hartmut Goebel <address@hidden>
AuthorDate: Sun Apr 19 21:59:17 2020 +0200

    gnu: Add rust-string-0.2.
    
    * gnu/packages/crates-io.scm (rust-string-0.2): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72e259a..d201476 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22027,6 +22027,26 @@ crate.")
     (license (list license:unlicense
                    license:expat))))
 
+(define-public rust-string-0.2
+  (package
+    (name "rust-string")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "string" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vaxz85ja52fn66akgvggb29wqa5bpj3y38syykpr1pbrjzi8hfj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.4))))
+    (home-page "https://github.com/carllerche/string";)
+    (synopsis "UTF-8 encoded string with configurable byte storage")
+    (description "This package provides a UTF-8 encoded string with
+configurable byte storage.")
+    (license license:expat)))
+
 (define-public rust-string-cache-0.7
   (package
     (name "rust-string-cache")



reply via email to

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