diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:52:48 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:23 -0500 |
commit | 8404dcc4894cc0fbdb6cfc22458c23528e19b770 (patch) | |
tree | 45ab164ea29671f394dfd523ae45d8d787f3a3b6 /gnu/packages/crates-io.scm | |
parent | c0288c0a027469fb41a5accafb121b6939fa7101 (diff) |
gnu: Add rust-cortex-m-0.7.
* gnu/packages/crates-io.scm (rust-cortex-m-0.7): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e0856ad188..2c359c7e89 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13119,6 +13119,31 @@ reallocations.") #:cargo-development-inputs (("rust-regex" ,rust-regex-0.1)))))) +(define-public rust-cortex-m-0.7 + (package + (name "rust-cortex-m") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cortex-m" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cw3nyip3s81r6qaa3azrb0654jxw465j5fm126fqja48bpikj9a")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bare-metal" ,rust-bare-metal-0.2) + ("rust-bitfield" ,rust-bitfield-0.13) + ("rust-embedded-hal" ,rust-embedded-hal-0.2) + ("rust-volatile-register" ,rust-volatile-register-0.2)))) + (home-page "https://github.com/rust-embedded/cortex-m") + (synopsis "Low level access to Cortex-M processors") + (description "This package provides low level access to Cortex-M +processors.") + (license (list license:expat license:asl2.0)))) + (define-public rust-csv-core-0.1 (package (name "rust-csv-core") |