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