aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-02 20:14:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:22 +0300
commit0fd432b3c77a0553c83f6ae8cdd742cbfe22c9dd (patch)
treedb46a24d9eafe3e7b7b497ce4bdc7cd116da07dd /gnu/packages
parentd256ecc3e6b00eead884b986e16db30afb283bbe (diff)
downloadguix-0fd432b3c77a0553c83f6ae8cdd742cbfe22c9dd.tar
guix-0fd432b3c77a0553c83f6ae8cdd742cbfe22c9dd.tar.gz
gnu: Add rust-enumflags2-0.7.
* gnu/packages/crates-io.scm (rust-enumflags2-0.7): New variable.
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 3012b346b4..7c4e71d8ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22165,6 +22165,27 @@ convert enum to u8 slice ref.")
(description "Provide useful impls on numerical enums")
(license license:bsd-3)))
+(define-public rust-enumflags2-0.7
+ (package
+ (name "rust-enumflags2")
+ (version "0.7.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "enumflags2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lhvq084ylw3nvhgv1zyagavkj392zamydh5v6y352zn1l4zahf0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.7)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/meithecatte/enumflags2")
+ (synopsis "Enum-based bit flags")
+ (description "This package provides enum-based bit flags.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-enumflags2-derive-0.7
(package
(name "rust-enumflags2-derive")