void-packages/srcpkgs/nushell/template
2021-07-23 08:44:34 +07:00

35 lines
1 KiB
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.34.0
revision=2
build_style=cargo
configure_args="--features=extra"
hostmakedepends="pkg-config python3 libgit2-devel"
makedepends="openssl-devel libgit2-devel libX11-devel libxcb-devel
libatomic-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=9571c7fbf0f0fdabb055727b63b6a5c3561f04357336289106591fc6afcff7a3
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'
;;
esac
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="arrow-rs parquet is busted garbage";;
esac
post_install() {
vlicense LICENSE
}