diff options
author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-17 15:12:43 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-22 13:10:05 +0100 |
commit | d1131e8779ba4829240a6dc1f69aa65dc7969965 (patch) | |
tree | 9a20ef7f63798b509aab56305bed40f0886e8982 | |
parent | 96e1c0145f0a7c73fb4df00b089508788cc8efd2 (diff) | |
download | guix-d1131e8779ba4829240a6dc1f69aa65dc7969965.tar.gz |
gnu: Add rust-webview-sys-0.6.
* gnu/packages/crates-io.scm (rust-webview-sys-0.6): New variable. [use-modules]: Add (gnu packages gtk) and (gnu packages webkit). Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 024f5ae330..77fb33f954 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -84,6 +84,8 @@ #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages gtk) + #:use-module (gnu packages webkit) #:use-module (srfi srfi-1)) ;;; @@ -66558,6 +66560,41 @@ with webpki.") (("rust-untrusted" ,rust-untrusted-0.6) ("rust-webpki" ,rust-webpki-0.18)))))) +(define-public rust-webview-sys-0.6 + (package + (name "rust-webview-sys") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "webview-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jb6h261lzp4b9rp7iwssbc7vs5d3q4wp08a4wvgwps2q4jz0080")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-gdk-sys" ,rust-gdk-sys-0.10) + ("rust-gio-sys" ,rust-gio-sys-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-sys" ,rust-gtk-sys-0.10) + ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-webkit2gtk-sys" ,rust-webkit2gtk-sys-0.12)))) + (native-inputs + (list pkg-config)) + (inputs + (list gtk+ webkitgtk-with-libsoup2)) + (home-page "https://github.com/Boscop/web-view") + (synopsis "Rust native ffi bindings for webview") + (description "This library provides a Rust binding to the original +implementation of webview, a tiny cross-platform library to render web-based +GUIs as desktop applications.") + (license license:expat))) + (define-public rust-weedle-0.10 (package (name "rust-weedle") |