From a917672fa16951e691a283fed4c76d52cf15901a Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 27 Jul 2023 21:44:45 +0530 Subject: [PATCH] nushell: update to 0.83.0. --- .../patches/0001-use-system-libraries.patch | 16 ++++++++-------- srcpkgs/nushell/template | 8 ++++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/srcpkgs/nushell/patches/0001-use-system-libraries.patch b/srcpkgs/nushell/patches/0001-use-system-libraries.patch index 5d62245d9ab7e..21b373e9d063d 100644 --- a/srcpkgs/nushell/patches/0001-use-system-libraries.patch +++ b/srcpkgs/nushell/patches/0001-use-system-libraries.patch @@ -17,9 +17,9 @@ index d1f11f0..b8e96f7 100644 @@ -67,7 +67,7 @@ nu-term-grid = { path = "./crates/nu-term-grid", version = "0.82.0" } nu-std = { path = "./crates/nu-std", version = "0.82.0" } nu-utils = { path = "./crates/nu-utils", version = "0.82.0" } - nu-ansi-term = "0.47.0" --reedline = { version = "0.21.0", features = ["bashisms", "sqlite"]} -+reedline = { version = "0.21.0", features = ["bashisms", "sqlite-dynlib"]} + nu-ansi-term = "0.49.0" +-reedline = { version = "0.22.0", features = ["bashisms", "sqlite"]} ++reedline = { version = "0.22.0", features = ["bashisms", "sqlite-dynlib"]} mimalloc = { version = "0.1.37", default-features = false, optional = true} @@ -30,12 +30,12 @@ index 841ff85..ea70d4a 100644 @@ -25,7 +25,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.82.0" } nu-utils = { path = "../nu-utils", version = "0.82.0" } nu-color-config = { path = "../nu-color-config", version = "0.82.0" } - nu-ansi-term = "0.47.0" --reedline = { version = "0.21.0", features = ["bashisms", "sqlite"]} -+reedline = { version = "0.21.0", features = ["bashisms", "sqlite-dynlib"]} + nu-ansi-term = "0.49.0" +-reedline = { version = "0.22.0", features = ["bashisms", "sqlite"]} ++reedline = { version = "0.22.0", features = ["bashisms", "sqlite-dynlib"]} - atty = "0.2" chrono = { default-features = false, features = ["std"], version = "0.4" } + crossterm = "0.26" diff --git a/a/crates/nu-command/Cargo.toml b/a/crates/nu-command/Cargo.toml index 7bb5710..9911440 100644 --- a/crates/nu-command/Cargo.toml @@ -46,6 +46,6 @@ index 7bb5710..9911440 100644 roxmltree = "0.18" -rusqlite = { version = "0.29", features = ["bundled"], optional = true } +rusqlite = { version = "0.29", optional = true } - rust-embed = "6.6" same-file = "1.0" serde = { version = "1.0", features = ["derive"] } + serde_json = "1.0" diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template index 8bcb50e307c86..42fa63e32bb51 100644 --- a/srcpkgs/nushell/template +++ b/srcpkgs/nushell/template @@ -1,6 +1,6 @@ # Template file for 'nushell' pkgname=nushell -version=0.82.0 +version=0.83.0 revision=1 build_style=cargo configure_args="--features=extra" @@ -14,11 +14,15 @@ license="MIT" homepage="https://www.nushell.sh/" changelog="https://www.nushell.sh/blog/" distfiles="https://github.com/nushell/nushell/archive/refs/tags/${version}.tar.gz" -checksum=587847feeb9fc06eb2a9da5ff05ffea5238fe5928ebea944c042838d8ad136e8 +checksum=49be7fdd34512e877ca18345f7be84606db601a657f8235dff670a66fff5b82c register_shell="/usr/bin/nu" # all tests fail with argument --target make_check=no +post_patch() { + cargo update --package trash@3.0.5 --precise 3.0.6 # yanked +} + case "$XBPS_TARGET_MACHINE" in i686*) broken='https://build.voidlinux.org/builders/i686_builder/builds/33520/steps/shell_3/logs/stdio'