commit:     e88dfd8aa30f59a37c20605fdd8e2f1999268580
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Mon Jan 19 04:49:43 2026 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 01:00:36 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88dfd8a

app-shells/nushell: add 0.110.0

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

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

diff --git a/app-shells/nushell/Manifest b/app-shells/nushell/Manifest
index 8ff162281194..0e6edaabc9be 100644
--- a/app-shells/nushell/Manifest
+++ b/app-shells/nushell/Manifest
@@ -4,3 +4,5 @@ DIST nushell-0.108.0-crates.tar.xz 74196744 BLAKE2B 
563ab1d8cebb210f30b7e21fb9ce
 DIST nushell-0.108.0.tar.gz 3632436 BLAKE2B 
0af8dcd1a9f5bd6cfc243efcbe17fa6611d6eebbc4defea1b0269e758e03756ca66f6f91ab6786d7b03091417c25792af937dca0280c30c543f36cfa820f1f03
 SHA512 
9b411b521f06ee5391ec7a7462e03cd4b85d815dff10879214c4fcc11625662143466d76efb6a9cb7fad6f5b46e2d5fdef31bdd28ab8befd42065b95bf795cc3
 DIST nushell-0.109.1-crates.tar.xz 75891132 BLAKE2B 
1fc61f47bdcc15ee624ecdc2e7f3d80289b160c17953bddaace898ec9856044086f123ef998be94297ffdb335cc2392bce3db24fa1af7128289cc552c53a56d9
 SHA512 
4b94e87db61fab2781f24e27989e8f55d47f238391ecb5be1680c00ea99488bdc884a00236d92f8b2959d3e1e6d7c5e0b3ece70e8b110afc56ac6bcfdd726c3d
 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

diff --git a/app-shells/nushell/nushell-0.110.0.ebuild 
b/app-shells/nushell/nushell-0.110.0.ebuild
new file mode 100644
index 000000000000..6322bbbebd1d
--- /dev/null
+++ b/app-shells/nushell/nushell-0.110.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.90.0"
+
+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)
+               network
+               plugin
+               native-tls
+               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