34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'nushell'
|
|
pkgname=nushell
|
|
version=0.27.1
|
|
revision=2
|
|
build_style=cargo
|
|
configure_args="--features=extra"
|
|
hostmakedepends="pkg-config python3 libgit2-devel"
|
|
makedepends="libressl-devel libgit2-devel libX11-devel libxcb-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/${version}.tar.gz"
|
|
checksum=bd153a95ea15446bb61a9e0292adc165ee0dd3a586298e77a0041597d68bc04e
|
|
register_shell="/usr/bin/nu"
|
|
# all tests fail with argument --target
|
|
make_check=no
|
|
|
|
post_patch() {
|
|
# pull in updates for https://github.com/alkis/decimal
|
|
# the latest release (2.0.4) is missing fixes needed for
|
|
# platforms with unsigned char type; pin it to a specific
|
|
# revision until a new release is made
|
|
#
|
|
# remove this post_patch once that has happened
|
|
echo '[patch.crates-io.decimal]' >> Cargo.toml
|
|
echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
|
|
echo 'rev = "c27d9a165afc55ec98fb4db79b12841df578387e"' >> Cargo.toml
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|