diff --git a/srcpkgs/gleam/template b/srcpkgs/gleam/template
index 621dc87d131..e26c612b18b 100644
--- a/srcpkgs/gleam/template
+++ b/srcpkgs/gleam/template
@@ -1,15 +1,19 @@
 # Template file for 'gleam'
 pkgname=gleam
-version=1.8.1
+version=1.9.1
 revision=1
 build_style=cargo
-make_install_args="--path=compiler-cli"
+make_install_args="--path=gleam-bin"
 depends="erlang rebar3"
-checkdepends="git"
+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://raw.githubusercontent.com/gleam-lang/gleam/main/CHANGELOG.md"
 distfiles="https://github.com/gleam-lang/gleam/archive/refs/tags/v${version}.tar.gz"
-checksum=5ad243c092fb229d0ae77214beaa462cd9a53018e553decb9b12a2ea1fab6494
+checksum=eacf88d2ce6f7ca06e9a0d6b8117c517a8a21593349233edb2506263d08a830f
+
+post_extract() {
+	vsed -i -e '/Deno\|Bun/d' test-output/src/tests/echo.rs
+}