maybe add rust-cxx-qt?

This commit is contained in:
Chris Cochrun 2023-07-03 16:32:54 -05:00
parent 70b3774c84
commit 9832e0df3d

View file

@ -32,8 +32,6 @@
(guix build-system cmake)
((guix licenses) #:prefix license:))
(define this-directory
(dirname (local-file-absolute-file-name (local-file "guix.scm"))))
@ -70,6 +68,39 @@
(synopsis "Adding rust to cmake projects")
(description "idk"))))
(define-public rust-cxx-qt-1
(package
(name "rust-cxx")
(version "1.0.86")
(source
(origin
(method url-fetch)
(uri (crate-uri "cxx" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0yc5gz723hiwqk7waygj63655fh5vzq3551p1j2wyzc06xf0glai"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Cannot compile cxx-test-suite.
#:cargo-inputs
(("rust-cc" ,rust-cc-1)
("rust-cxxbridge-flags" ,rust-cxxbridge-flags-1)
("rust-cxxbridge-macro" ,rust-cxxbridge-macro-1)
("rust-link-cplusplus" ,rust-link-cplusplus-1))
#:cargo-development-inputs
(("rust-cxx-build" ,rust-cxx-build-1)
("rust-cxx-gen" ,rust-cxx-gen-0.7)
("rust-cxx-test-suite" ,rust-cxx-test-suite-0.0.0)
("rust-rustversion" ,rust-rustversion-1)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://cxx.rs")
(synopsis "Safe interop between Rust and C++")
(description "This package provides a safe interop between Rust and C++.")
(license (list license:expat license:asl2.0))))
(define-public lumina
(package
(name "lumina")
@ -86,6 +117,7 @@
ffmpeg))
(propagated-inputs (list clang
cmake
mold
clazy
clang-toolchain
gdb