void-packages/srcpkgs/hexyl/template
2019-08-10 00:55:22 +02:00

24 lines
627 B
Bash

# Template file for 'hexyl'
pkgname=hexyl
version=0.5.1
revision=2
build_style=cargo
short_desc="Command-line hex viewer"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/hexyl"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=9c12bc6377d1efedc4a1731547448f7eb6ed17ee1c267aad9a35995b42091163
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="https://github.com/nix-rust/nix/issues/951"
esac
pre_configure() {
cargo update --package ctrlc --precise 3.1.3
cargo update --package nix --precise 0.14.1
}
post_install() {
vlicense LICENSE-MIT
}