aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 13:20:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:55 +0200
commitf0dbd176df2f12c62f410dbeeca70ce4f908f5c7 (patch)
tree1e7ec1da53b98bcfc0acd2f997acbe449cef0941 /gnu/packages/crates-web.scm
parent65cd7744adfc9b67a1ba2a6813c77f5133e4ea7e (diff)
downloadguix-f0dbd176df2f12c62f410dbeeca70ce4f908f5c7.tar
guix-f0dbd176df2f12c62f410dbeeca70ce4f908f5c7.tar.gz
gnu: rust-webview-sys-0.6: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-webview-sys-0.6): Move from here ... * gnu/packages/crates-web.scm: ... to here. Change-Id: Iacd880454a5c77b6d3548609b3fe8e90d744a16f
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm36
1 files changed, 36 insertions, 0 deletions
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 @@
#: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 @@ with webpki.")
#: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)))