From 1b494c4e9a514c91932b78042c5c6a63947d795b Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Sun, 7 Nov 2021 17:03:31 +0100
Subject: [PATCH] chez-scheme: update to 9.5.6.

---
 srcpkgs/chez-scheme/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/chez-scheme/template b/srcpkgs/chez-scheme/template
index 2766709623..e2369c4754 100644
--- a/srcpkgs/chez-scheme/template
+++ b/srcpkgs/chez-scheme/template
@@ -1,7 +1,8 @@
 # Template file for 'chez-scheme'
 pkgname=chez-scheme
-version=9.5.4
+version=9.5.6
 revision=1
+_nanopass_version=1.9.2
 wrksrc="ChezScheme-${version}"
 build_style=gnu-configure
 hostmakedepends="git libX11-devel liblz4-devel libuuid-devel ncurses-devel zlib-devel"
@@ -11,9 +12,9 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="Apache-2.0"
 homepage="http://scheme.com/"
 distfiles="https://github.com/cisco/ChezScheme/archive/v${version}.tar.gz
- https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.1.tar.gz"
-checksum="258a4b5284bb13ac6e8b56acf89a7ab9e8726a90cc57ea1cd71c5da442323840
-92afa571484e58bb0f4baa3e13f7239a116bfb3b5d4585e3c4c7b28fdbdc93c4"
+ https://github.com/nanopass/nanopass-framework-scheme/archive/v${_nanopass_version}.tar.gz"
+checksum="e23c556493f9a661852ea046f3317500feac5f223ea6ef3aa3b9234567e14c0e
+ 46d3ab75f425ef93a6ac31f0b0b2f893b9cb3154219832ad52ea044dd36b021c"
 alternatives="
  scheme:scheme:/usr/bin/chez-scheme
  scheme:scheme.1:/usr/share/man/man1/chez-scheme.1
@@ -43,7 +44,7 @@ post_extract() {
 	sed -i '/git submodule/s/^/: #/' configure
 
 	rmdir nanopass
-	mv ../nanopass-framework-scheme-1.9.1 nanopass
+	mv ../nanopass-framework-scheme-${_nanopass_version} nanopass
 }
 
 do_configure() {