# Template file for 'nushell'
pkgname=nushell
version=0.34.0
revision=1
build_style=cargo
configure_args="--features=extra"
hostmakedepends="pkg-config python3 libgit2-devel"
makedepends="openssl-devel libgit2-devel libX11-devel libxcb-devel
 libatomic-devel"
short_desc="Modern shell for the GitHub era"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
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=9571c7fbf0f0fdabb055727b63b6a5c3561f04357336289106591fc6afcff7a3
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no

if [ "$XBPS_TARGET_WORDSIZE" != 64 ]; then
	broken='https://build.voidlinux.org/builders/i686_builder/builds/33520/steps/shell_3/logs/stdio'
fi

post_install() {
	vlicense LICENSE
}
