void-packages/srcpkgs/nushell/template

24 lines
719 B
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.20.0
revision=1
# raw-cpuid does not support other archs
# https://github.com/nushell/nushell/issues/485
# remove when the issue is fixed (should fix all archs)
archs="x86_64* i686*"
wrksrc="nu-${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-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://static.crates.io/crates/nu/nu-${version}.crate"
checksum=c9e48c29e4326996514fdd97031ad12e7889486d9df8a80a2f5e9f8f828d0c82
post_install() {
vlicense LICENSE
}