summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-01-03 12:43:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-01-03 12:49:36 +0200
commit69d1b05b5ff1dc2e5424cc102c622b2bc3ecd82b (patch)
tree1945f5aaa1f62cf8a3567d312c7d5add1675be2d
parentc61ddb6f51cd267a25be332001a60318e2f5607e (diff)
gnu: Add rust-cxx-gen-0.6.
* gnu/packages/crates-io.scm (rust-cxx-gen-0.6): New variable.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 717e0cb69c..1b72425bf0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6403,6 +6403,34 @@ ristretto255 and Curve25519")
attributes.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cxx-gen-0.6
+ (package
+ (name "rust-cxx-gen")
+ (version "0.6.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cxx-gen" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0avkca16wjy0paplq1ycaf04bj62agfj0awyhyzxyfpdn9rm45j2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-codespan-reporting" ,rust-codespan-reporting-0.9)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://cxx.rs")
+ (synopsis "C++ code generator")
+ (description
+ "This package provides a C++ code generator for integrating the @code{cxx}
+crate into higher level tools.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cxx-test-suite-0.0.0
(package
(name "rust-cxx-test-suite")