aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:30:41 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:30:41 +0100
commitcafde8ae634caf28ebec8c9be30245a814e97a40 (patch)
treecc313fc878121b313f8a2dd62ed7a655505369a6
parente57e8c39b1b2a1bc568b4fcea8abdacffce62438 (diff)
downloadguix-cafde8ae634caf28ebec8c9be30245a814e97a40.tar.gz
guix-cafde8ae634caf28ebec8c9be30245a814e97a40.zip
gnu: Add rust-c2rust-build-paths.
* gnu/packages/c2rust.scm (rust-c2rust-build-paths-0.18): New variable. Change-Id: I84d617f2d86f31ee7aa94bb3ecbaeac0939cb317
-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 7e74461d5a..cd3976c0c6 100644
--- a/gnu/packages/c2rust.scm
+++ b/gnu/packages/c2rust.scm
@@ -124,3 +124,25 @@
(description
"This package provides Rust AST builder support crate for the C2Rust project.")
(license license:bsd-3)))
+
+(define-public rust-c2rust-build-paths-0.18
+ (package
+ (name "rust-c2rust-build-paths")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "c2rust-build-paths" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b2liaxbqksgfbsmr6hacdia6czlq7m0pyqx3l2rrcfcnb2ksgv0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-print-bytes" ,rust-print-bytes-1))))
+ (home-page "https://c2rust.com/")
+ (synopsis
+ "C2Rust utilities related to build paths, primarily at build time")
+ (description
+ "This package provides C2Rust utilities related to build paths, primarily at build time.")
+ (license license:bsd-3)))