diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb38f17fbd..631e3953db 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -86710,41 +86710,6 @@ (define-public rust-webbrowser-0.5 ("rust-widestring" ,rust-widestring-0.4) ("rust-winapi" ,rust-winapi-0.3)))))) -(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-wee-alloc-0.4 (package (name "rust-wee-alloc") diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 8f56ff3b5e..e6ce669c54 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -28,6 +28,7 @@ (define-module (gnu packages crates-web) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-gtk) #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) @@ -350,3 +351,38 @@ (define-public rust-webpki-roots-0.15 #:cargo-inputs (("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)))