void-packages/srcpkgs/taplo/template

28 lines
941 B
Bash

# Template file for 'taplo'
pkgname=taplo
version=0.9.3
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=5744a06a1e93128f5cb5409d5bf5e553915703ec0491df9f4c7ab31dbe430287
post_patch() {
cargo update --package pprof@0.9.1 --precise 0.13.0
}
post_install() {
vlicense LICENSE.md
}