void-packages/srcpkgs/nushell/template

31 lines
805 B
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.101.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel sqlite-devel"
depends="mimalloc"
short_desc="Modern shell for the GitHub era"
maintainer="Saksham <voidisnull@duck.com>"
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=43e4a123e86f0fb4754e40d0e2962b69a04f8c2d58470f47cb9be81daabab347
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="arrow-rs parquet is busted garbage" ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
XBPS_CROSS_RUSTFLAGS+=" -latomic"
fi
post_install() {
vlicense LICENSE
}