mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-cxx-gen-0.7.
* gnu/packages/crates-io.scm (rust-cxx-gen-0.7): New variable. (rust-cxx-gen-0.6): Inherit from ruxt-cxx-gen-0.7.
This commit is contained in:
parent
bbf3497c37
commit
b0920c5a90
1 changed files with 26 additions and 9 deletions
|
@ -11064,15 +11064,39 @@ (define-public rust-cxx-build-0.5
|
|||
#:cargo-development-inputs
|
||||
(("rust-cxx-gen" ,rust-cxx-gen-0.6)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||
|
||||
(define-public rust-cxx-gen-0.7
|
||||
(package
|
||||
(name "rust-cxx-gen")
|
||||
(version "0.7.49")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "cxx-gen" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"08v366jxd2vc8jc2cbvrga0866pwfcaq6hl8yylfx0vhs2n53j53"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:rust ,rust-1.48 ; or newer
|
||||
#:cargo-inputs
|
||||
(("rust-cc" ,rust-cc-1)
|
||||
("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
|
||||
("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 a Cargo build.")
|
||||
crate into higher level tools.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-cxx-gen-0.6
|
||||
(package
|
||||
(inherit rust-cxx-gen-0.7)
|
||||
(name "rust-cxx-gen")
|
||||
(version "0.6.7")
|
||||
(source
|
||||
|
@ -11084,20 +11108,13 @@ (define-public rust-cxx-gen-0.6
|
|||
(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))))
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-cxx-test-suite-0.0.0
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue