aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 18:51:16 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:23 -0500
commit9406be94fe2a3e51a677928feaf8aaea9e31b530 (patch)
tree169abbeaf75189f27864ac372bed8dc489497e29 /gnu/packages/crates-io.scm
parent6f9d5dac0b8fdbcbd9391101a413a2f3b5e8090f (diff)
downloadguix-9406be94fe2a3e51a677928feaf8aaea9e31b530.tar
guix-9406be94fe2a3e51a677928feaf8aaea9e31b530.tar.gz
gnu: Add rust-bare-metal-0.2.
* gnu/packages/crates-io.scm (rust-bare-metal-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5ee64d6874..ca78f33c72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4681,6 +4681,28 @@ trace (backtrace) at runtime in a Rust program.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-bare-metal-0.2
+ (package
+ (name "rust-bare-metal")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bare-metal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cy5pbb92fznnri72y6drfpjxj4qdmd62f0rrlgy70dxlppn9ssx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.2))))
+ (home-page "https://github.com/rust-embedded/bare-metal")
+ (synopsis "Abstractions common to bare metal systems")
+ (description "This package provides abstractions common to bare metal
+systems.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-barrel-0.6
(package
(name "rust-barrel")