mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: rust-webbrowser-0.8: Update to 0.8.15.
* gnu/packages/crates-io.scm (rust-webbrowser-0.8): Update to 0.8.15. [source]: Remove patch. [arguments]: Don't skip the build. Add cargo-test-flags. [cargo-inputs]: Add rust-core-foundation-0.9, rust-home-0.5, rust-jni-0.21, rust-ndk-context-0.1, rust-objc-0.2, rust-raw-window-handle-0.5. [cargo-development-inputs]: Add rust-actix-files-0.6, rust-actix-web-4, rust-crossbeam-channel-0.5, rust-env-logger-0.9, rust-ndk-glue-0.5, rust-rand-0.8, rust-serial-test-0.10, rust-tokio-1, rust-urlencoding-2. [native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. * gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Change-Id: Ib585361789c2615654ddeaab88aadcab702ac6c0
This commit is contained in:
parent
438762e5b0
commit
b7741fab9e
3 changed files with 28 additions and 34 deletions
|
@ -2192,7 +2192,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/rust-poem-1-fewer-deps.patch \
|
||||
%D%/packages/patches/rust-rspec-1-remove-clippy.patch \
|
||||
%D%/packages/patches/rust-trash-2-update-windows.patch \
|
||||
%D%/packages/patches/rust-webbrowser-remove-unsupported-os.patch \
|
||||
%D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \
|
||||
%D%/packages/patches/rw-igraph-0.10.patch \
|
||||
%D%/packages/patches/rxvt-unicode-fix-cursor-position.patch \
|
||||
|
|
|
@ -97998,25 +97998,44 @@ (define-public rust-web-time-0.2
|
|||
(define-public rust-webbrowser-0.8
|
||||
(package
|
||||
(name "rust-webbrowser")
|
||||
(version "0.8.8")
|
||||
(version "0.8.15")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "webbrowser" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
;; Explicitely remove dependencies for unsupported operating systems,
|
||||
;; to avoid pulling many dependencies and causing rust world rebuilds.
|
||||
(patches (search-patches "rust-webbrowser-remove-unsupported-os.patch"))
|
||||
(patch-flags '("-p0"))
|
||||
(sha256
|
||||
(base32 "0zk1qidyksspa8pgvq8bh2lyqmmrs0fr5r1qsyhbzrawpn2w972p"))))
|
||||
(base32 "12zw844al9kf32p5llv6dbqzaky9fa3ng497i3sk8mj0m5sswryv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs (("rust-dirs" ,rust-dirs-4)
|
||||
`(#:cargo-test-flags '("--"
|
||||
"--skip=os::tests_xdg::test_xdg_open_local_file"
|
||||
"--skip=tests::test_existence_default"
|
||||
"--skip=tests::test_local_file_abs_path"
|
||||
"--skip=tests::test_local_file_rel_path"
|
||||
"--skip=tests::test_local_file_uri"
|
||||
"--skip=tests::test_open_default")
|
||||
#:cargo-inputs (("rust-core-foundation" ,rust-core-foundation-0.9)
|
||||
("rust-home" ,rust-home-0.5)
|
||||
("rust-jni" ,rust-jni-0.21)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-ndk-context" ,rust-ndk-context-0.1)
|
||||
("rust-objc" ,rust-objc-0.2)
|
||||
("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
|
||||
("rust-url" ,rust-url-2)
|
||||
("rust-web-sys" ,rust-web-sys-0.3))))
|
||||
("rust-web-sys" ,rust-web-sys-0.3))
|
||||
#:cargo-development-inputs
|
||||
(("rust-actix-files" ,rust-actix-files-0.6)
|
||||
("rust-actix-web" ,rust-actix-web-4)
|
||||
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
|
||||
("rust-env-logger" ,rust-env-logger-0.9)
|
||||
("rust-ndk-glue" ,rust-ndk-glue-0.5)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-serial-test" ,rust-serial-test-0.10)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-urlencoding" ,rust-urlencoding-2))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list (list zstd "lib")))
|
||||
(home-page "https://github.com/amodm/webbrowser-rs")
|
||||
(synopsis "Open URLs in web browsers available on a platform")
|
||||
(description
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
--- Cargo.toml 2023-05-07 13:39:13.029066693 +0100
|
||||
+++ Cargo.toml 2023-05-07 13:39:22.545138206 +0100
|
||||
@@ -67,21 +67,3 @@
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
|
||||
version = "0.3"
|
||||
features = ["Window"]
|
||||
-
|
||||
-[target."cfg(target_os = \"android\")".dependencies.jni]
|
||||
-version = "0.21"
|
||||
-
|
||||
-[target."cfg(target_os = \"android\")".dependencies.ndk-context]
|
||||
-version = "0.1"
|
||||
-
|
||||
-[target."cfg(target_os = \"android\")".dev-dependencies.ndk-glue]
|
||||
-version = ">= 0.3, <= 0.7"
|
||||
-
|
||||
-[target."cfg(target_os = \"ios\")".dependencies.objc]
|
||||
-version = "0.2.7"
|
||||
-
|
||||
-[target."cfg(target_os = \"ios\")".dependencies.raw-window-handle]
|
||||
-version = "0.5.0"
|
||||
-
|
||||
-[target."cfg(target_os = \"macos\")".dependencies.core-foundation]
|
||||
-version = "0.9"
|
Loading…
Reference in a new issue