void-packages/srcpkgs/taplo/template

28 lines
898 B
Bash

# Template file for 'taplo'
pkgname=taplo
version=0.9.0
revision=1
build_style=cargo
# no-default-features: allows selecting custom feature set
# lsp: builds TOML language server
# native-tls: Enables linking against system SSL instead of rustls/ring
configure_args="--no-default-features --features lsp,native-tls"
make_install_args="--path crates/taplo-cli"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="TOML toolkit written in Rust"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="https://taplo.tamasfe.dev/"
changelog="https://github.com/tamasfe/taplo/releases"
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/release-taplo-cli-${version}.tar.gz"
checksum=7d292f52c2d97d9e9c447a725d6d4e59096fce10e2f72ec6b80387034c20ba35
post_patch() {
cargo update --package pprof@0.9.1 --precise 0.13.0
}
post_install() {
vlicense LICENSE.md
}