summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-22 22:51:40 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:30 +0300
commit58cb93944e2b7ce3b44db614040dbaf70c704382 (patch)
treea29bf44e2c1c392f4d081cefccc7db426905dca6 /gnu/packages
parent7d03aaaf0f8cf7a79872289f53e0cfd22f1b3640 (diff)
downloadguix-58cb93944e2b7ce3b44db614040dbaf70c704382.tar.gz
gnu: Add rust-structmeta-derive-0.1.
* gnu/packages/crates-io.scm (rust-structmeta-derive-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f3dd978ac4..ffea27b2cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59458,6 +59458,29 @@ and Jaro-Winkler.")
         (base32
          "0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37"))))))
 
+(define-public rust-structmeta-derive-0.1
+  (package
+    (name "rust-structmeta-derive")
+    (version "0.1.6")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "structmeta-derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "14vxik2m3dm7bwx016qfz062fwznkbq02fyq8vby545m0pj0nhi4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/frozenlib/structmeta")
+    (synopsis "Derive macro for structmeta crate")
+    (description "This package lets you parse Rust's attribute arguments by
+defining a struct.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-structopt-0.3
   (package
     (name "rust-structopt")