guix-commits
[Top][All Lists]
Advanced

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

05/14: gnu: Add rust-os-str-bytes-2.


From: guix-commits
Subject: 05/14: gnu: Add rust-os-str-bytes-2.
Date: Wed, 26 May 2021 09:23:45 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit e88170478767458b688595f09e6df0b5f3180b16
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Apr 28 00:12:24 2021 +0800

    gnu: Add rust-os-str-bytes-2.
    
    * gnu/packages/crates-io.scm (rust-os-str-bytes-2): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 579a999..7049b91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27278,6 +27278,30 @@ under its new name.")
      "A cross-platform library for opening OS pipes.")
     (license license:expat)))
 
+(define-public rust-os-str-bytes-2
+  (package
+    (name "rust-os-str-bytes")
+    (version "2.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "os_str_bytes" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page
+     "https://github.com/dylni/os_str_bytes";)
+    (synopsis
+     "Traits for converting between byte sequences and platform-native 
strings")
+    (description
+     "This package provides a traits for converting between byte sequences and
+platform-native strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-output-vt100-0.1
   (package
     (name "rust-output-vt100")



reply via email to

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