mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add rust-c2rust-bitfields.
* gnu/packages/c2rust.scm (rust-c2rust-bitfields-0.18): New variable. Change-Id: I1be51f171bc9c3955868f39d5c103c019c26d294
This commit is contained in:
parent
5aef68575f
commit
3fafc8e514
1 changed files with 22 additions and 0 deletions
|
@ -56,3 +56,25 @@ (define-public rust-c2rust-bitfields-derive-0.18
|
|||
(description
|
||||
"This package provides C-compatible struct bitfield derive implementation used in the C2Rust project.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public rust-c2rust-bitfields-0.18
|
||||
(package
|
||||
(name "rust-c2rust-bitfields")
|
||||
(version "0.18.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "c2rust-bitfields" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0h9cnyijk65zypv8dqbmr5r238pqq9pa8njrdzx09xhfmc3kyg5l"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs (("rust-c2rust-bitfields-derive" ,rust-c2rust-bitfields-derive-0.18))))
|
||||
(home-page "https://c2rust.com/")
|
||||
(synopsis
|
||||
"C-compatible struct bitfield implementation used in the C2Rust project")
|
||||
(description
|
||||
"This package provides C-compatible struct bitfield implementation used in the C2Rust project.")
|
||||
(license license:bsd-3)))
|
||||
|
|
Loading…
Reference in a new issue