aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/nushell/template
blob: 1b7e12a105fbf3215af7426699f184c4cba27ece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Template file for 'nushell'
pkgname=nushell
version=0.98.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel libgit2-devel libzstd-devel sqlite-devel"
depends="mimalloc"
short_desc="Modern shell for the GitHub era"
maintainer="Orphaned <orphan@voidlinux.org>"
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=c77fd63c4a5f2d35f7dcbb3e9bd76dfaa23acc6bc21fb1de4e7a4a94dc458839
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
	vsconf crates/nu-utils/src/sample_config/default_config.nu
	vsconf crates/nu-utils/src/sample_config/default_env.nu
	vsconf crates/nu-utils/src/sample_config/sample_login.nu
}