# Template file for 'nushell'
pkgname=nushell
version=0.112.2
revision=1
build_style=cargo
configure_args="--no-default-features --features=plugin,trash-support,sqlite,network,native-tls"
hostmakedepends="pkg-config"
makedepends="openssl-devel sqlite-devel"
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=32ebcfe41b6390145e90eb86273e221f22eeacd53ecac5274405f148fb4258c2
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no

post_install() {
	vlicense LICENSE
}
