void-packages/srcpkgs/taplo/template

27 lines
826 B
Bash

# Template file for 'taplo'
pkgname=taplo
version=0.8.1
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/"
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/${version}.tar.gz"
checksum=ec8dfdcfa33a6855803286413c0603140b21c06bc659ceab7e2ddc05baf1a8b3
post_patch() {
cargo update --package pprof@0.9.1 --precise 0.12.0
}
post_install() {
vlicense LICENSE.md
}