guix-commits
[Top][All Lists]
Advanced

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

434/471: gnu: Add rust-c-vec-2.


From: guix-commits
Subject: 434/471: gnu: Add rust-c-vec-2.
Date: Wed, 3 May 2023 09:29:15 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 67ca87ecd3b98efce74b6c8de622c600b02822f7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:19:25 2023 +0300

    gnu: Add rust-c-vec-2.
    
    * gnu/packages/crates-io.scm (rust-c-vec-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 c52358c764..d286fa161e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9585,6 +9585,26 @@ exposed as Reader/Writer streams.")
 NULL-terminated C linked lists.")
     (license (list license:expat license:bsd-3))))
 
+(define-public rust-c-vec-2
+  (package
+    (name "rust-c-vec")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "c-vec" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1s765fviy10q27b0wmkyk4q728z9v8v5pdlxv5k564y0mlks9mzx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/GuillaumeGomez/c_vec-rs.git";)
+    (synopsis "Structures to wrap C arrays")
+    (description "This package procides structures to wrap C arrays in Rust.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-c2-chacha-0.2
   (package
     (name "rust-c2-chacha")



reply via email to

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