guix-commits
[Top][All Lists]
Advanced

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

348/472: gnu: Add rust-enumber-0.3.


From: guix-commits
Subject: 348/472: gnu: Add rust-enumber-0.3.
Date: Tue, 18 Jul 2023 14:09:30 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4b53dc975e1452bf6f63ce090f37c04ffe6bfa56
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:56:41 2023 +0300

    gnu: Add rust-enumber-0.3.
    
    * gnu/packages/crates-io.scm (rust-enumber-0.3): New variable.
---
 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 ecd433ad8d..28f1d7f5e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21256,6 +21256,27 @@ implement enum_primitive.")
 convert enum to u8 slice ref.")
     (license license:bsd-3)))
 
+(define-public rust-enumber-0.3
+  (package
+    (name "rust-enumber")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "enumber" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "06gd26x1fpxphkzlxnkmyjc7zalrr2vw88lz4yg23x6q62dv8dgs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/kinnison/enumber/";)
+    (synopsis "Provide useful impls on numerical enums")
+    (description "Provide useful impls on numerical enums")
+    (license license:bsd-3)))
+
 (define-public rust-enumset-1
   (package
     (name "rust-enumset")



reply via email to

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