# Template file for 'd2'
pkgname=d2
version=0.7.1
revision=1
build_style=go
go_import_path="oss.terrastruct.com/d2"
go_ldflags="-X ${go_import_path}/lib/version.Version=${version}"
short_desc="Modern diagram scripting language that turns text to diagrams"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MPL-2.0"
homepage="https://d2lang.com/"
changelog="https://d2lang.com/releases/intro/"
distfiles="https://github.com/d2lang/d2/archive/refs/tags/v${version}.tar.gz"
checksum=b784d6472d53fdaaa7ecc9bdbe23456e2b4a90e18736828028b3f951537e56a1
make_check=no # tests require playwright + chromium
