From 5088028e80e5bccfe5b7ebc5225d7edf4b02eca4 Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 6 Mar 2024 12:35:00 +0530 Subject: [PATCH] nushell: update to 0.91.0. --- .../patches/0001-use-system-libraries.patch | 39 ------------------- srcpkgs/nushell/template | 8 +--- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 srcpkgs/nushell/patches/0001-use-system-libraries.patch diff --git a/srcpkgs/nushell/patches/0001-use-system-libraries.patch b/srcpkgs/nushell/patches/0001-use-system-libraries.patch deleted file mode 100644 index aa86ce4b58d806..00000000000000 --- a/srcpkgs/nushell/patches/0001-use-system-libraries.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/Cargo.toml b/Cargo.toml -index ff57424af7e..27e0ed3c154 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -78,7 +78,7 @@ nu-std = { path = "./crates/nu-std", version = "0.90.1" } - nu-utils = { path = "./crates/nu-utils", version = "0.90.1" } - - nu-ansi-term = "0.50.0" --reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] } -+reedline = { version = "0.29.0", features = ["bashisms", "sqlite-dynlib"] } - - crossterm = "0.27" - ctrlc = "3.4" -diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml -index cbcfe333e0f..ab349ecbc6a 100644 ---- a/crates/nu-cli/Cargo.toml -+++ b/crates/nu-cli/Cargo.toml -@@ -25,7 +25,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.90.1" } - nu-utils = { path = "../nu-utils", version = "0.90.1" } - nu-color-config = { path = "../nu-color-config", version = "0.90.1" } - nu-ansi-term = "0.50.0" --reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] } -+reedline = { version = "0.29.0", features = ["bashisms", "sqlite-dynlib"] } - - chrono = { default-features = false, features = ["std"], version = "0.4" } - crossterm = "0.27" -diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml -index 56f6a3ab622..9779f991a18 100644 ---- a/crates/nu-command/Cargo.toml -+++ b/crates/nu-command/Cargo.toml -@@ -72,7 +72,7 @@ rand = "0.8" - rayon = "1.8" - regex = "1.9.5" - roxmltree = "0.18" --rusqlite = { version = "0.29", features = ["bundled", "backup", "chrono"], optional = true } -+rusqlite = { version = "0.29", features = ["backup", "chrono"], optional = true } - same-file = "1.0" - serde = { version = "1.0", features = ["derive"] } - serde_json = { version = "1.0", features = ["preserve_order"] } diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template index a2fc7e1a380cd3..a2c2024a5ea4d6 100644 --- a/srcpkgs/nushell/template +++ b/srcpkgs/nushell/template @@ -1,6 +1,6 @@ # Template file for 'nushell' pkgname=nushell -version=0.90.1 +version=0.91.0 revision=1 build_style=cargo configure_args="--features=extra,dataframe" @@ -13,7 +13,7 @@ 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=cb15559556311dea349a0f0b5fddeb3cc7a3adea9b0586753f0c632d69727084 +checksum=8957808c3d87b17c6e874b8382e8be45100e83c540556b2c43864c428c2b80b5 register_shell="/usr/bin/nu" # all tests fail with argument --target make_check=no @@ -27,10 +27,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then XBPS_CROSS_RUSTFLAGS+=" -latomic" fi -post_patch() { - cargo update --recursive reedline -} - post_install() { vlicense LICENSE vsconf crates/nu-utils/src/sample_config/default_config.nu