summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:02 +0300
commit3f0dc9a857e703bfce1f4c05253be4d365a60c3a (patch)
tree62ec18448d40fba5ac723a5dbc80cd0615715aa4 /gnu
parent35af6cd4bf1acbca49bec89844645e6f4e77e0fb (diff)
gnu: Add rust-enumber-0.3.
* gnu/packages/crates-io.scm (rust-enumber-0.3): New variable.
Diffstat (limited to 'gnu')
-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 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")