mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02:00
gnu: Add rust-c2rust-ast-printer.
* gnu/packages/c2rust.scm (rust-c2rust-ast-printer-0.18): New variable. Change-Id: I9730eef9e26834ce4dd74ada406d4aa78685f24a
This commit is contained in:
@@ -78,3 +78,27 @@
|
||||
(description
|
||||
"This package provides C-compatible struct bitfield implementation used in the C2Rust project.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public rust-c2rust-ast-printer-0.18
|
||||
(package
|
||||
(name "rust-c2rust-ast-printer")
|
||||
(version "0.18.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "c2rust-ast-printer" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1a02bnnxn1difq917c2rv8b7654ni65lyk37hdyklv9n96inr07r"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs (("rust-log" ,rust-log-0.4)
|
||||
("rust-prettyplease" ,rust-prettyplease-0.1)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://c2rust.com/")
|
||||
(synopsis "Customized version of libsyntax rust pretty-printer")
|
||||
(description
|
||||
"This package provides Customized version of libsyntax rust pretty-printer.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
Reference in New Issue
Block a user