summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMatt Wette <matt.wette@gmail.com>2026-02-22 00:55:42 +0000
committerArun Isaac <arunisaac@systemreboot.net>2026-02-22 00:59:52 +0000
commitbe558dfe3403c8e56d5b3ee919ebb0070bd2ad61 (patch)
tree4d9da09288614cda798b8d360fed8c9d314077b4 /gnu
parent0f03583230605e3dd3f18c05b7c2ca0888d8e8de (diff)
gnu: guile-libyaml: Update to 3.0.2.
* gnu/packages/guile-xyz.scm (guile-libyaml): Update to 3.0.2. [arguments]: Update substitute regexp in build-ffi phase. [native-inputs]: Replace nyacc-1.08.1 with nyacc. [propagated-inputs]: Replace nyacc-1.08.1 with nyacc. Remove guile-bytestructures. Change-Id: Ifac73f0554a4604817334f8c4562d9dc2c8bc76f
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile-xyz.scm16
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index fb8e6776731..4e413d61380 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -59,6 +59,7 @@
;;; Copyright © 2025 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;; Copyright © 2025 Andy Tai <atai@atai.org>
;;; Copyright © 2025 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;; Copyright © 2026 Matt Wette <matt.wette@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7129,7 +7130,7 @@ schedulers.")
(define-public guile-libyaml
(package
(name "guile-libyaml")
- (version "1.0.0")
+ (version "3.0.2")
(source
(origin
(method git-fetch)
@@ -7138,7 +7139,7 @@ schedulers.")
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1bssby1ri1vjll2rvi8b33xr2ghwjyxsd4yc15najj3h8n2ss87i"))
+ (base32 "1qyalw2zx8xx5dc0pnms0va1ha1nmiv7yir9rabd324qgy4y1aiz"))
(snippet #~(for-each delete-file
'("guix.scm" "demo1.yml" "demo1.scm")))))
(build-system guile-build-system)
@@ -7151,15 +7152,12 @@ schedulers.")
(setenv "GUILE_AUTO_COMPILE" "0")
(invoke "guild" "compile-ffi" "--no-exec" "yaml/libyaml.ffi")
(substitute* "yaml/libyaml.scm"
- (("dynamic-link \"libyaml\"")
- (format #f "dynamic-link \"~a/lib/libyaml\""
+ ((" \"libyaml\"")
+ (format #f " \"~a/lib/libyaml\""
(assoc-ref inputs "libyaml")))))))))
- ;; guile-libyaml does not work with nyacc-2.02.2. See
- ;; https://github.com/mwette/guile-libyaml/issues/7 for upstream bug
- ;; report. Hence, we use the older nyacc-1.08.1.
- (native-inputs (list gcc guile-3.0 nyacc-1.08.1))
+ (native-inputs (list gcc guile-3.0 nyacc))
(inputs (list libyaml))
- (propagated-inputs (list guile-bytestructures nyacc-1.08.1))
+ (propagated-inputs (list nyacc))
(home-page "https://github.com/mwette/guile-libyaml")
(synopsis "Guile wrapper for libyaml")
(description