diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-27 13:19:20 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:55 +0200 |
commit | 65cd7744adfc9b67a1ba2a6813c77f5133e4ea7e (patch) | |
tree | 4be065157bea93f042b674424ba71cc69f7619ff /gnu/packages/crates-web.scm | |
parent | 6851b30def30f3da7043af5e47c101b822b018bd (diff) |
gnu: rust-web-view-0.7: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-web-view-0.7): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I64f418366007a475f48f3d20e36df2bd84cbef43
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 9396fca76a..8f56ff3b5e 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -28,8 +28,53 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages crates-io) + #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages tls)) + #:use-module (gnu packages tls) + #:use-module (gnu packages webkit)) + +(define-public rust-web-view-0.7 + (package + (name "rust-web-view") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "web-view" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1smgmc00nk2wn8kpagp0mpsd0d9f5mvljidf2x7plbi3bymac7gf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files + #:cargo-inputs + (("rust-boxfnonce" ,rust-boxfnonce-0.1) + ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3) + ("rust-urlencoding" ,rust-urlencoding-1) + ("rust-webview-sys" ,rust-webview-sys-0.6)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-web" ,rust-actix-web-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-grep" ,rust-grep-0.2) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-rust-embed" ,rust-rust-embed-5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs + (list pkg-config)) + (inputs + (list gtk+ + webkitgtk-with-libsoup2)) + (home-page "https://github.com/Boscop/web-view") + (synopsis "Rust 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-webpki-0.22 (package |