summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-06-23 17:56:45 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-02 11:40:11 +0300
commit15693e8714fad6b8ca40a99c3c3c201d714a845d (patch)
tree839d3cf1574e48e8dfb6015242478889e5fb52c2 /gnu/packages
parent63dbcec93d99b082477f51f44428a19d802eece4 (diff)
downloadguix-15693e8714fad6b8ca40a99c3c3c201d714a845d.tar.gz
gnu: Add rust-enum-derive-0.1.
* gnu/packages/crates-io.scm (rust-enum-derive-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7dba764950..5c0933dd34 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22398,6 +22398,27 @@ accessor functions on enums.")
         ("rust-quote" ,rust-quote-0.6)
         ("rust-syn" ,rust-syn-0.15))))))
 
+(define-public rust-enum-derive-0.1
+  (package
+    (name "rust-enum-derive")
+    (version "0.1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "enum-derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "05n8mdca3y2c8pvl1isncj52fa80wplvx28lxvwqmpzfr6lc4sj0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-custom-derive" ,rust-custom-derive-0.1))))
+    (home-page "https://github.com/DanielKeep/rust-custom-derive")
+    (synopsis "Macros for deriving additional functionality for enums")
+    (description
+     "This crate provides macros for deriving additional functionality for enums.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-enum-map-derive-0.4
   (package
     (name "rust-enum-map-derive")