diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-09 10:02:30 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 15:39:08 +0000 |
commit | f20e0f6ba7a69e1dcc5cc9ef2015a8ad115cc822 (patch) | |
tree | 5f10392451b507c481ae50aa8b4d24b325692a1a /gnu | |
parent | 3d1c984ad857d9fd56b1ae068adf81cd8e05f83b (diff) | |
download | guix-f20e0f6ba7a69e1dcc5cc9ef2015a8ad115cc822.tar.gz |
gnu: Add rust-safe-arch-0.5.
* gnu/packages/crates-io.scm (rust-safe-arch-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 48cf77f1f0..9cc885d104 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43858,6 +43858,28 @@ quickly convert floating point numbers to decimal strings.") computation (experimental)") (license (list license:asl2.0 license:expat)))) +(define-public rust-safe-arch-0.5 + (package + (name "rust-safe-arch") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "safe_arch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01ffy9aw9v1n4bcwl525zw3gnh18jk7aq38iqcn51bwnjrnkvzy1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytemuck" ,rust-bytemuck-1)))) + (home-page "https://github.com/Lokathor/safe_arch") + (synopsis "Access core::arch safely") + (description "This package exposes @code{core::arch} safely via +@code{#[cfg()]}.") + (license (list license:zlib license:asl2.0 license:expat)))) + (define-public rust-safemem-0.3 (package (name "rust-safemem") |