void-packages/srcpkgs/taplo/template

28 lines
941 B
Bash

# Template file for 'taplo'
pkgname=taplo
version=0.9.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/"
changelog="https://raw.githubusercontent.com/tamasfe/taplo/master/crates/taplo-cli/CHANGELOG.md"
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/release-taplo-cli-${version}.tar.gz"
checksum=6b00333260bd593f7eb2046c9d5f0fac48b5e673e9b064b23eccf240a86b33f7
post_patch() {
cargo update --package pprof@0.9.1 --precise 0.13.0
}
post_install() {
vlicense LICENSE.md
}