diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:52:48 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:07 +0100 |
commit | 240850338cd9360d011c37377252ec367d95a913 (patch) | |
tree | 1eb07ed001c1028589f9168d42049e357b618bc5 /gnu/packages/crates-io.scm | |
parent | 8a9c5167da2baa38a0886ac5e2bf19c5a0719b79 (diff) | |
download | guix-patches-240850338cd9360d011c37377252ec367d95a913.tar guix-patches-240850338cd9360d011c37377252ec367d95a913.tar.gz |
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") |