void-packages/srcpkgs/nushell/template

24 lines
719 B
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.18.1
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=b746e856fe6d819386aecd854b0d9cc8769249df9136268f5b0e828999f8228e
post_install() {
vlicense LICENSE
}