aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:28:39 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:28:39 +0100
commite57e8c39b1b2a1bc568b4fcea8abdacffce62438 (patch)
treee5964083221c33dc21e94716230b4af7e5a9ec8e
parent591f4f1b98a7b89c637cb597fdd16f3eea0464c2 (diff)
downloadguix-e57e8c39b1b2a1bc568b4fcea8abdacffce62438.tar.gz
guix-e57e8c39b1b2a1bc568b4fcea8abdacffce62438.zip
gnu: Add rust-c2rust-ast-builder.
* gnu/packages/c2rust.scm (rust-c2rust-ast-builder-0.18): New variable. Change-Id: Ib7944e20955996f6377abef33a020c64b676eaf8
-rw-r--r--gnu/packages/c2rust.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/c2rust.scm b/gnu/packages/c2rust.scm
index 6b14bbdcb0..7e74461d5a 100644
--- a/gnu/packages/c2rust.scm
+++ b/gnu/packages/c2rust.scm
@@ -102,3 +102,25 @@
(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)))