aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-05-21 21:28:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:47:08 +0300
commitc0d94f583fdc7c5504162b5cf35370077515c081 (patch)
tree8ec6b1e89c861281288305083261058bbdd66222 /gnu/packages/crates-io.scm
parent0a40892a804c5dd2d68a7f048954a933f01f4d04 (diff)
downloadguix-c0d94f583fdc7c5504162b5cf35370077515c081.tar
guix-c0d94f583fdc7c5504162b5cf35370077515c081.tar.gz
gnu: Add rust-derive-utils-0.11.
* gnu/packages/crates-io.scm (rust-derive-utils-0.11): New variable. Change-Id: I7e19f16e73df269b41ad6dac33715a4915d76f6b
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 719f1c10fd..77aaedf2fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20899,6 +20899,34 @@ structs and enums.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-derive-utils-0.11
+ (package
+ (name "rust-derive-utils")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive_utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gx7giwn8x427d5f8c92n9h0hhcqdsasvz7i8iq2rqffvhalqask"))))
+ (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))
+ #:cargo-development-inputs
+ (("rust-rustversion" ,rust-rustversion-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/taiki-e/derive_utils")
+ (synopsis "Macro helper for easily writing derives macros for enum")
+ (description
+ "This crate provides a procedural macro helper for easily
+writing derives macros for enums.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-derive-where-1
(package
(name "rust-derive-where")