guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: Add rust-enum-derive-0.1.


From: guix-commits
Subject: 01/07: gnu: Add rust-enum-derive-0.1.
Date: Mon, 2 Oct 2023 04:41:33 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 15693e8714fad6b8ca40a99c3c3c201d714a845d
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Jun 23 17:56:45 2023 +0100

    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>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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")



reply via email to

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