diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-09 20:00:23 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-30 23:02:42 +0100 |
commit | 1efcfa0f239eedd09892365c95d91538ee813acd (patch) | |
tree | 37442864b89283dff681a5a6fbc4b96fd434a5bb /gnu/packages | |
parent | 2919de7e8038fef084c5fc90ff472a7dec94b59e (diff) | |
download | guix-1efcfa0f239eedd09892365c95d91538ee813acd.tar.gz |
gnu: Add rust-bit-field-0.10.
* gnu/packages/crates-io.scm (rust-bit-field-0.10): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f7e6d2731a..3be01bd81e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2176,6 +2176,26 @@ bindings to C and C++ libraries.") ("rust-diff" ,rust-diff-0.1) ("rust-shlex" ,rust-shlex-0.1)))))) +(define-public rust-bit-field-0.10 + (package + (name "rust-bit-field") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bit-field" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "192rsg8g3ki85gj8rzslblnwr53yw5q4l8vfg6bf1lkn4cfdvdnw")))) + (build-system cargo-build-system) + (home-page "https://github.com/phil-opp/rust-bit-field") + (synopsis "Methods for operating on individual bits and ranges of bits") + (description + "This is a simple crate which provides the BitField trait, which provides +methods for operating on individual bits and ranges of bits on Rust's integral +types.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bit-set-0.5 (package (name "rust-bit-set") |