commit:     f5e83d2f68faaecce7e8f16a5909de85618999d1
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Mar  4 04:42:52 2026 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar  4 23:08:13 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e83d2f

app-shells/nushell: add 0.111.0

Signed-off-by: Jonas Frei <freijon <AT> pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/45888
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-shells/nushell/Manifest               |  2 +
 app-shells/nushell/nushell-0.111.0.ebuild | 96 +++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

diff --git a/app-shells/nushell/Manifest b/app-shells/nushell/Manifest
index 3bf5856d18a3..5a1bc4d87159 100644
--- a/app-shells/nushell/Manifest
+++ b/app-shells/nushell/Manifest
@@ -4,3 +4,5 @@ DIST nushell-0.109.1-crates.tar.xz 75891132 BLAKE2B 
1fc61f47bdcc15ee624ecdc2e7f3
 DIST nushell-0.109.1.tar.gz 3672021 BLAKE2B 
59d6d58b4a472283d6cdb4cf618152abb3cae978ab501a57075e10355c2a5d89228d7288fb0a446e1745e3caf68ff98451788930c2cca3fa8f55780bcbddceb0
 SHA512 
f625f882bdecad448a54a9e0e63d64178723524b04b794c4c366ed824993d136855f5b93d99ac72dce37f6385322ff941e41ee1b378c885b75e3d01372de6dc2
 DIST nushell-0.110.0-crates.tar.xz 74774668 BLAKE2B 
c18b384fd9b5f8a88f8ac3d376ca50158a022c65597790fc8b51160191ef41a8148213e3d4f96b8d4a1d79f941671bf95da8bc1eb3c8d883aa1c04406df2b7b9
 SHA512 
32a8bc1e882913c9e0bcf98ccd740b9f109d30fb45c65138d305c6f2179e6e2f2c13c69baffebabab493f172b7b3180d2bc5f04a587fdb75152550c1d96cc7db
 DIST nushell-0.110.0.tar.gz 3754147 BLAKE2B 
9f37f4947de870421bd85b87b52cd3cc066b88f06897c6b13b759bffe57e7e9137580b9227b2b261423b77c51b5779e91857138de30d98fb492fd38a16100b6c
 SHA512 
c030acb3cfa5aad35e1b516028de16b9b99e0b18be6fa4c1e75ab59f98fa8e7dfa2e448f8e6f7d08b1412f3fedae615d2d42179d4d83e4c5a06aae3dc51fd467
+DIST nushell-0.111.0-crates.tar.xz 82711756 BLAKE2B 
88fa3ec429cc2482468e9a09f1151af1a993d409542e5382f7d6c2df08192b4044960546d77b25c90bd2d536864ed1842c6bcf65c6a6e102e2a3414d8ab50022
 SHA512 
42a4704a9d671a18d229ef23ad146c5483e7f51ac76d084870a49391c4657ac872b1e1d7ae24322646e5625421b6514b25c353c73495362196c17e8a4011f2d9
+DIST nushell-0.111.0.tar.gz 3849051 BLAKE2B 
0861e107664d41df3ba3f2411518ea12a8858c577611555629ad0310a1e8e739a927025e1ea6f13880e82b2f78caba63535d62366039dd63cc6eca9ca14d7872
 SHA512 
13734dfd89136c43e6612e05598c7ca042c422598c43d7e6b68171a1a56d7ab7624168fb40eb6f5704970c798d21020e490a5ecbfdbca8b7697d508452332f9e

diff --git a/app-shells/nushell/nushell-0.111.0.ebuild 
b/app-shells/nushell/nushell-0.111.0.ebuild
new file mode 100644
index 000000000000..010c7b039430
--- /dev/null
+++ b/app-shells/nushell/nushell-0.111.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.91.1"
+
+inherit cargo
+
+DESCRIPTION="A new type of shell, written in Rust"
+HOMEPAGE="https://www.nushell.sh";
+SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" 
https://github.com/gentoo-crate-dist/nushell/releases/download/${PV}/${P}-crates.tar.xz";
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       0BSD Apache-2.0 BSD Boost-1.0 CC-PD CC0-1.0 ISC MIT MPL-2.0 MPL-2.0
+       Unicode-DFS-2016 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="mcp plugins system-clipboard X"
+
+DEPEND="
+       dev-libs/openssl:0=
+       dev-db/sqlite:3=
+       system-clipboard? (
+               X? (
+                       x11-libs/libX11
+                       x11-libs/libxcb
+               )
+       )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+RESTRICT+=" test"
+
+QA_FLAGS_IGNORED="usr/bin/nu.*"
+
+src_prepare() {
+       use plugins || eapply 
"${FILESDIR}/${PN}-dont-build-plugins-from-106.patch"
+       default
+}
+
+src_configure() {
+       # high magic to allow system-libs
+       export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+       export OPENSSL_NO_VENDOR=true
+       export PKG_CONFIG_ALLOW_CROSS=1
+
+       local myfeatures=(
+               $(usev mcp)
+               native-tls
+               network
+               plugin
+               sqlite
+               $(usev system-clipboard)
+               trash-support
+       )
+
+       cargo_src_configure --no-default-features
+}
+
+src_compile() {
+       cargo_src_compile --workspace
+}
+
+src_install() {
+       cargo_src_install
+       if use plugins ; then
+               # Clear features to compile plugins
+               local myfeatures=()
+               cargo_src_configure
+
+               cargo_src_install --path crates/nu_plugin_custom_values
+               cargo_src_install --path crates/nu_plugin_example
+               cargo_src_install --path crates/nu_plugin_formats
+               cargo_src_install --path crates/nu_plugin_gstat
+               cargo_src_install --path crates/nu_plugin_inc
+               cargo_src_install --path crates/nu_plugin_polars
+               cargo_src_install --path crates/nu_plugin_query
+               cargo_src_install --path crates/nu_plugin_stress_internals
+       fi
+       local DOCS=( README.md )
+       einstalldocs
+}
+
+pkg_postinst() {
+       if use plugins ; then
+               einfo "The plugins are installed alongside the main 'nu' 
binary."
+               einfo "Visit 
https://www.nushell.sh/book/plugins.html#adding-a-plugin";
+               einfo "for more information on how to use plugins."
+       fi
+}

Reply via email to