gnu: Add rust-riscv-0.7.

* gnu/packages/crates-io.scm (rust-riscv-0.7):
(rust-riscv-target-0.1): New variables.
This commit is contained in:
Nicolas Goaziou 2021-12-27 18:45:43 +01:00 committed by Leo Famulari
parent b8810c80ef
commit 74a977d7a7
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -43545,6 +43545,52 @@ (define-public rust-ring-0.13
;; build dependencies
("rust-cc" ,rust-cc-1))))))
(define-public rust-riscv-0.7
(package
(name "rust-riscv")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "riscv" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1fla10m2qkcf7zqw91rrribpdaavkv6qbbzjz9q2n09igbfwq1v9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bare-metal" ,rust-bare-metal-1)
("rust-bit-field" ,rust-bit-field-0.10)
("rust-riscv-target" ,rust-riscv-target-0.1))))
(home-page "https://github.com/rust-embedded/riscv")
(synopsis "Low level access to RISC-V processors")
(description "This crate provides low level access to RISC-V processors.")
(license license:isc)))
(define-public rust-riscv-target-0.1
(package
(name "rust-riscv-target")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "riscv-target" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08pj6f1sbddd6idjn8c1wv121bzikw9qvzhcl9icz822va697al8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/ilya-epifanov/riscv-target")
(synopsis "RISC-V target string manipulation utilities")
(description "This package provides RISC-V target string manipulation
utilities.")
(license license:isc)))
(define-public rust-rle-decode-fast-1
(package
(name "rust-rle-decode-fast")