Subject: [bug#68301] [PATCH] gnu: Add guile-yamlpp.

From: Georgios Athanasiou <[email-masked]>
Date: Sun, 7 Jan 2024 13:27:07 +0200

* gnu/packages/guile-xyz.scm (guile-yamlpp): New variable.

Change-Id: I54694eeea17e414df4d7778a2e119f3f995c20e4
---
  gnu/packages/guile-xyz.scm | 27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 75e3754046..9ef4ef0573 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -5428,6 +5428,33 @@ (define-public guile-libyaml
  ffi-helper from nyacc.")
        (license license:lgpl3+))))

+(define-public guile-yamlpp
+  (package
+    (name "guile-yamlpp")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/yorgath/guile-yamlpp")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14mlqi7hw7pi9scwk1g432issnqcn185pd8na2plijxq55cy0iq7"))))
+    (build-system gnu-build-system)
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (inputs (list guile-3.0 yaml-cpp))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "GUILE_EXTENSIONS_PATH")
+            (files (list "lib/guile/3.0")))))
+    (home-page "https://gitlab.com/yorgath/guile-yamlpp")
+    (synopsis "Guile YAML reader/writer based on @code{yaml-cpp}")
+    (description
+     "A module for GNU Guile to read and write YAML files.  It works using
+bindings to the @code{yaml-cpp} C++ library.")
+    (license license:gpl3+)))
+
  (define-public schmutz
    (let ((commit "add24588c59552537b8f1316df99a0cdd62c221e")
          (revision "1"))
-- 
2.41.0