--- Begin Message ---
Subject: |
[PATCH] gnu: Add guile-yamlpp. |
Date: |
Sun, 7 Jan 2024 13:27:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
* 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#68301] [PATCH] gnu: Add guile-yamlpp. |
Date: |
Sun, 07 Jan 2024 19:34:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> * gnu/packages/guile-xyz.scm (guile-yamlpp): New variable.
Applied, thanks!
For bonus points, you could see why yaml-cpp doesn't cross-compile and
check after that whether guile-yamlpp is cross-compiling as well :)
Mathieu
--- End Message ---