# Template file for 'gleam'
pkgname=gleam
version=1.18.1
revision=1
build_style=cargo
make_install_args="--path=gleam-bin"
depends="erlang rebar3"
checkdepends="git erlang nodejs"
short_desc="Statically typed language for the Erlang VM"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://gleam.run/"
changelog="https://github.com/gleam-lang/gleam/tree/main/changelog"
distfiles="https://github.com/gleam-lang/gleam/archive/refs/tags/v${version}.tar.gz"
checksum=0691b50bd3592a549abbbd7a0dea4b11f8930988c1e398d1d1429faf48933a3c

post_extract() {
	vsed -i -e '/assert.*\(Deno\|Bun\)/d' test-output/src/tests/echo.rs
}
