summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:19:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:39 +0300
commit5844ac8083e5c0b0eaad5342891f284aab6daa6b (patch)
tree5e00fb04d16c8e12d5977cc9edbd2962e5d72cfa
parenta11f27b4e75be15cc786567bad9b869c21bb17bf (diff)
downloadguix-5844ac8083e5c0b0eaad5342891f284aab6daa6b.tar.gz
gnu: Add rust-c-vec-2.
* gnu/packages/crates-io.scm (rust-c-vec-2): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
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")