unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68301] [PATCH] gnu: Add guile-yamlpp.
@ 2024-01-07 11:27 Georgios Athanasiou
  2024-01-07 18:34 ` bug#68301: " Mathieu Othacehe
  2024-01-08 22:42 ` [bug#68301] " Georgios Athanasiou
  0 siblings, 2 replies; 5+ messages in thread
From: Georgios Athanasiou @ 2024-01-07 11:27 UTC (permalink / raw)
  To: 68301

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#68301: [PATCH] gnu: Add guile-yamlpp.
  2024-01-07 11:27 [bug#68301] [PATCH] gnu: Add guile-yamlpp Georgios Athanasiou
@ 2024-01-07 18:34 ` Mathieu Othacehe
  2024-01-08 22:42 ` [bug#68301] " Georgios Athanasiou
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2024-01-07 18:34 UTC (permalink / raw)
  To: Georgios Athanasiou; +Cc: 68301-done


> * 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#68301] [PATCH] gnu: Add guile-yamlpp.
  2024-01-07 11:27 [bug#68301] [PATCH] gnu: Add guile-yamlpp Georgios Athanasiou
  2024-01-07 18:34 ` bug#68301: " Mathieu Othacehe
@ 2024-01-08 22:42 ` Georgios Athanasiou
  2024-01-09 15:16   ` Zheng Junjie
  1 sibling, 1 reply; 5+ messages in thread
From: Georgios Athanasiou @ 2024-01-08 22:42 UTC (permalink / raw)
  To: othacehe; +Cc: 68301

Hi Mathieu,

That was fast, thanks.  Latest yaml-cpp release version 0.8.0 seems to

solve the cross-compilation issue (as well as bringing other

benefits).  Maybe I'll submit a patch for the upgrade (I do worry a

bit about negatively affecting any of the ~25 dependent packages,

though backwards compatibility seems excellent).

Best wishes,

G.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#68301] [PATCH] gnu: Add guile-yamlpp.
  2024-01-08 22:42 ` [bug#68301] " Georgios Athanasiou
@ 2024-01-09 15:16   ` Zheng Junjie
  2024-01-10 14:27     ` Mathieu Othacehe
  0 siblings, 1 reply; 5+ messages in thread
From: Zheng Junjie @ 2024-01-09 15:16 UTC (permalink / raw)
  To: Georgios Athanasiou; +Cc: othacehe, 68301


Georgios Athanasiou <o8cu77@otenet.gr> writes:

> Hi Mathieu,
>
> That was fast, thanks.  Latest yaml-cpp release version 0.8.0 seems to
>
> solve the cross-compilation issue (as well as bringing other
>
> benefits).  Maybe I'll submit a patch for the upgrade (I do worry a
>
> bit about negatively affecting any of the ~25 dependent packages,
>
> though backwards compatibility seems excellent).
>
> Best wishes,
>
> G.

see https://issues.guix.gnu.org/67066, looks like this patch didn't push
to master?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#68301] [PATCH] gnu: Add guile-yamlpp.
  2024-01-09 15:16   ` Zheng Junjie
@ 2024-01-10 14:27     ` Mathieu Othacehe
  0 siblings, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2024-01-10 14:27 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: Georgios Athanasiou, 68301


Hello,

> see https://issues.guix.gnu.org/67066, looks like this patch didn't push
> to master?

Strange, re-applied.

Mathieu




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-10 14:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-07 11:27 [bug#68301] [PATCH] gnu: Add guile-yamlpp Georgios Athanasiou
2024-01-07 18:34 ` bug#68301: " Mathieu Othacehe
2024-01-08 22:42 ` [bug#68301] " Georgios Athanasiou
2024-01-09 15:16   ` Zheng Junjie
2024-01-10 14:27     ` Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).