gnu: Add rust-bare-metal-1.
* gnu/packages/crates-io.scm (rust-bare-metal-1): New variable. (rust-bare-metal-0.2): Inherit from above.
This commit is contained in:
parent
9406be94fe
commit
c0288c0a02
|
@ -4681,8 +4681,28 @@ (define-public rust-backtrace-sys-0.1
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-bare-metal-1
|
||||||
|
(package
|
||||||
|
(name "rust-bare-metal")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "bare-metal" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "00wn61b219nkfcwggim5pj7mcyn1gkq8zqaq4gjlb0rri9d8zzpq"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments `(#:skip-build? #t))
|
||||||
|
(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-bare-metal-0.2
|
(define-public rust-bare-metal-0.2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-bare-metal-1)
|
||||||
(name "rust-bare-metal")
|
(name "rust-bare-metal")
|
||||||
(version "0.2.5")
|
(version "0.2.5")
|
||||||
(source
|
(source
|
||||||
|
@ -4692,16 +4712,10 @@ (define-public rust-bare-metal-0.2
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1cy5pbb92fznnri72y6drfpjxj4qdmd62f0rrlgy70dxlppn9ssx"))))
|
(base32 "1cy5pbb92fznnri72y6drfpjxj4qdmd62f0rrlgy70dxlppn9ssx"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-rustc-version" ,rust-rustc-version-0.2))))
|
(("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
|
(define-public rust-barrel-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue