guix-commits
[Top][All Lists]
Advanced

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

10/69: gnu: Add rust-ptr-meta-0.1.


From: guix-commits
Subject: 10/69: gnu: Add rust-ptr-meta-0.1.
Date: Thu, 11 Nov 2021 10:43:18 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 11fb842ae958bf1149f9e25b09c29ae3ca8fac51
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Nov 9 14:48:44 2021 +0000

    gnu: Add rust-ptr-meta-0.1.
    
    * gnu/packages/crates-io.scm (rust-ptr-meta-0.1): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac999ce..f82980d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60976,6 +60976,37 @@ formatters with per-field documentation generated for 
each structure.
     (description "This package provides macros for the ptr_meta API.")
     (license license:expat)))
 
+(define-public rust-ptr-meta-0.1
+  (package
+    (name "rust-ptr-meta")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ptr_meta" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wd4wy0wxrcays4f1gy8gwcmxg7mskmivcv40p0hidh6xbvwqf07"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-ptr-meta-derive" ,rust-ptr-meta-derive-0.1))))
+    (home-page "https://github.com/djkoloski/ptr_meta";)
+    (synopsis "Manipulate metadata of fat pointers")
+    (description "This package allows manipulating the metadata of fat
+pointers:
+
+@itemize
+@item Naming the metadata’s type (as an associated type)
+@item Extracting metadata from a pointer
+@item Reconstructing a pointer from a data pointer and metadata
+@item Representing vtables, the metadata for trait objects, as a type with
+  some limited API.
+@end itemize
+")
+    (license license:expat)))
+
 (define-public rust-ptree-0.3
   (package
     (name "rust-ptree")



reply via email to

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