[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/86] gnu: Add rust-qml.
From: |
ng0 |
Subject: |
[PATCH 05/86] gnu: Add rust-qml. |
Date: |
Tue, 3 Jan 2017 23:35:21 +0000 |
* gnu/packages/rust.scm (rust-qml): New variable.
---
gnu/packages/rust.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 1d96c3af2..68c22a279 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages llvm)
#:use-module (gnu packages python)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages version-control)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
@@ -330,3 +331,32 @@ available.")
"Lazy-static provides a macro for declaring lazily
evaluated statics in Rust.")
(license license:expat)))
+
+(define-public rust-qml
+ (package
+ (name "rust-qml")
+ (version "0.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "qml" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1inbzzd7rg5fvypl927hmy0qdc899mbjp7x5b0wmk6869ril2nsy"))))
+ (build-system cargo-build-system)
+ (inputs
+ `(("rust-lazy-static" ,rust-lazy-static "src")
+ ("rust-libc" ,rust-libc "src")))
+ (propagated-inputs
+ ;; Rust has no concept for outside packages, but DOtherSide is
+ ;; a dependency according to the github page.
+ `(("dotherside" ,dotherside)))
+ (home-page "https://github.com/White-Oak/qml-rust")
+ (synopsis "QML (Qt Quick) bindings for Rust language")
+ (description
+ "QML-rust provides bindings for Qt Quick. The bindings are based
+on @code{DOtherSide} C bindings for QML Library. It is mostly
+feature-compliant with other bindings based on the library.")
+ (license license:expat)))
--
2.11.0
- 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings, ng0, 2017/01/03
- [PATCH 03/86] gnu: Add rust-lazy-static., ng0, 2017/01/03
- [PATCH 01/86] gnu: Add rust-libc., ng0, 2017/01/03
- [PATCH 02/86] gnu: Add rust-spin., ng0, 2017/01/03
- [PATCH 04/86] gnu: Add dotherside., ng0, 2017/01/03
- [PATCH 05/86] gnu: Add rust-qml.,
ng0 <=
- [PATCH 08/86] gnu: Add rust-rand., ng0, 2017/01/03
- [PATCH 12/86] gnu: Add rust-winapi-build., ng0, 2017/01/03
- [PATCH 10/86] gnu: Add rust-void., ng0, 2017/01/03
- [PATCH 11/86] gnu: Add rust-slab., ng0, 2017/01/03
- [PATCH 13/86] gnu: Add rust-tempdir., ng0, 2017/01/03
- [PATCH 14/86] gnu: Add rust-glob., ng0, 2017/01/03
- [PATCH 07/86] gnu: Add rust-futures., ng0, 2017/01/03
- [PATCH 09/86] gnu: Add rust-nix-test., ng0, 2017/01/03