aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2024-08-18 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-08-25 02:00:00 +0200
commit4260fa2a046b2a4399915d816cfd800df1f1b5e3 (patch)
tree4d73ff0d6ae42c30fcde20fbfb1ba2d2aebc9bc3 /gnu/packages
parenta3c0f245be5c26b82eb3e40471c2daf2523323b0 (diff)
downloadguix-4260fa2a046b2a4399915d816cfd800df1f1b5e3.tar
guix-4260fa2a046b2a4399915d816cfd800df1f1b5e3.tar.gz
gnu: Add rust-bitfield.
* gnu/packages/crates-io.scm (rust-bitfield-0.14): New public variable. Change-Id: Ifd987df22a4c9ed08a0448c2737842ad142093a4
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 016c4befbd..bb07c92001 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8017,6 +8017,24 @@ types.")
@code{rust-bitcoin}.")
(license license:cc0)))
+(define-public rust-bitfield-0.14
+ (package
+ (name "rust-bitfield")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitfield" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b26k9acwss4qvrl60lf9n83l17d4hj47n5rmpd3iigf9j9n0zid"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/dzamlo/rust-bitfield")
+ (synopsis "Macros to generate bitfield-like struct")
+ (description
+ "This Rust crate provides macros to generate bitfield-like struct.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bitflags-2
(package
(name "rust-bitflags")