void-packages/srcpkgs/nushell/template

32 lines
1015 B
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.83.1
revision=2
build_style=cargo
configure_args="--features=extra"
hostmakedepends="pkg-config python3 libgit2-devel"
makedepends="openssl-devel libgit2-devel libX11-devel libxcb-devel
libcurl-devel libzstd-devel liblz4-devel zlib-devel
nghttp2-devel bzip2-devel sqlite-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=a08baef4e487cf200b14cd4a8555110106a947ac439ad8e2759f5ec52c8f9656
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no
case "$XBPS_TARGET_MACHINE" in
i686*)
broken='https://build.voidlinux.org/builders/i686_builder/builds/33520/steps/shell_3/logs/stdio'
;;
ppc*) broken="arrow-rs parquet is busted garbage" ;;
esac
post_install() {
vlicense LICENSE
}