From 494e5b344b550bbb09d726c7e7c139ee5d1c801d Mon Sep 17 00:00:00 2001 From: Juliana Sims Date: Tue, 28 Mar 2023 22:45:26 -0400 Subject: [PATCH 1/3] gnu: gerbil: Update to 0.17.0. * gnu/package/scheme.scm (gerbil): Update to 0.17.0. --- gnu/packages/scheme.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index e6a9ef1db0..e6f58aa403 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2022 Robby Zambito ;;; Copyright © 2023 Andrew Whatson +;;; Copyright © 2023 Juliana Sims ;;; ;;; This file is part of GNU Guix. ;;; @@ -1113,7 +1114,7 @@ (define-public cl-airship-scheme (define-public gerbil (package (name "gerbil") - (version "0.16") + (version "0.17.0") (source (origin (method git-fetch) @@ -1122,7 +1123,7 @@ (define-public gerbil (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0vng0kxpnwsg8jbjdpyn4sdww36jz7zfpfbzayg9sdpz6bjxjy0f")))) + (base32 "0c0nspm659ybgmqlppdv7sxzll4hwkvcp9qmcsip6d0kz0p8r9c3")))) (arguments `(#:phases (modify-phases %standard-phases @@ -1172,6 +1173,14 @@ (define-public gerbil "./tutorial/proxy/build-static.ss" "./tutorial/proxy/build.ss"))) #t)) + (add-after 'configure 'create-gx-version.scm + (lambda _ + (with-output-to-file (string-append + (getcwd) + "/gerbil/runtime/gx-version.scm") + (lambda _ + (write `(define (gerbil-version-string) + ,(string-append "v" ,(version-major+minor version)))))))) (replace 'build (lambda* @@ -1195,7 +1204,7 @@ (define-public gerbil (copy-recursively "../bin" bin) (copy-recursively "../lib" lib))))))) (native-inputs - (list coreutils util-linux)) + (list coreutils gambit-c util-linux)) (propagated-inputs (list gambit-c zlib openssl sqlite)) (build-system gnu-build-system) -- 2.39.2