gnu: Add rust-c2rust-ast-builder.

* gnu/packages/c2rust.scm (rust-c2rust-ast-builder-0.18): New variable.

Change-Id: Ib7944e20955996f6377abef33a020c64b676eaf8
This commit is contained in:
Danny Milosavljevic 2024-12-21 13:28:39 +01:00
parent 591f4f1b98
commit e57e8c39b1
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -102,3 +102,25 @@ (define-public rust-c2rust-ast-printer-0.18
(description
"This package provides Customized version of libsyntax rust pretty-printer.")
(license (list license:expat license:asl2.0))))
(define-public rust-c2rust-ast-builder-0.18
(package
(name "rust-c2rust-ast-builder")
(version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "c2rust-ast-builder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w63rp66g6axkymxd16avxp3gjnphy3mg9938gsh52p4aak83nq5"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://c2rust.com/")
(synopsis "Rust AST builder support crate for the C2Rust project")
(description
"This package provides Rust AST builder support crate for the C2Rust project.")
(license license:bsd-3)))