void-packages/srcpkgs/nushell/template

22 lines
677 B
Bash

# Template file for 'nushell'
pkgname=nushell
version=0.6.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/"
distfiles="https://static.crates.io/crates/nu/nu-${version}.crate"
checksum=882549e55b418f11a56a5ed0c528268338d9af9fee88c8b9e0be0dcd4169d238
post_install() {
vlicense LICENSE
}