From 69d1b05b5ff1dc2e5424cc102c622b2bc3ecd82b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 3 Jan 2021 12:43:17 +0200 Subject: gnu: Add rust-cxx-gen-0.6. * gnu/packages/crates-io.scm (rust-cxx-gen-0.6): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3