all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexey Abramov via Guix-patches via <guix-patches@gnu.org>
To: 62824@debbugs.gnu.org
Subject: [bug#62824] [PATCH v3] gnu: Add libfyaml.
Date: Sat, 15 Apr 2023 08:13:31 +0200	[thread overview]
Message-ID: <20230415061331.28846-1-levenson@mmer.org> (raw)
In-Reply-To: <20230414064251.7432-1-levenson@mmer.org>

* gnu/packages/serialization.scm (libfyaml): New variable.
---
 gnu/packages/serialization.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 3f0a550920..677615a53d 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
+;;; Copyright © 2023 Alexey Abramov <levenson@mmer.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -426,6 +427,33 @@ (define-public libcyaml
     (home-page "https://github.com/tlsa/libcyaml")
     (license license:isc)))
 
+(define-public libfyaml
+  (package
+    (name "libfyaml")
+    (version "0.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pantoniou/libfyaml")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "002g0grddfi5y42lq06zj8266rf7h27wq76sr598ad5pxllx3y3g"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf
+           automake
+           libtool
+           pkg-config))
+    (home-page "https://github.com/pantoniou/libfyaml")
+    (synopsis "YAML version 1.2 and JSON parser/writer")
+    (description "Fully feature complete YAML parser and emitter, supporting the
+latest YAML spec and passing the full YAML testsuite.  It is designed to be very
+efficient, avoiding copies of data, and has no artificial limits like the 1024
+character limit for implicit keys.")
+    (license license:expat)))
+
 (define-public yaml-cpp
   (package
     (name "yaml-cpp")
-- 
2.39.2





  parent reply	other threads:[~2023-04-15  6:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  6:42 [bug#62824] [PATCH] gnu: Add libfyaml Alexey Abramov via Guix-patches via
2023-04-14  7:01 ` [bug#62824] [PATCH v2] " Alexey Abramov via Guix-patches via
2023-04-14  7:04 ` [bug#62824] [PATCH] " Alexey Abramov via Guix-patches via
2023-04-15  6:13 ` Alexey Abramov via Guix-patches via [this message]
2023-05-03 12:31   ` [bug#62824] [PATCH v3] " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230415061331.28846-1-levenson@mmer.org \
    --to=guix-patches@gnu.org \
    --cc=62824@debbugs.gnu.org \
    --cc=levenson@mmer.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.