Subject: [bug#70780] [PATCH v2 2/2] gnu: Add libscfg.

From: Wilko Meyer <[email-masked]>
Date: Fri, 10 May 2024 14:25:00 +0200

* gnu/packages/serialization.scm (libscfg): New variable.
* gnu/packages/serialization.scm: Add copyright.

Change-Id: I0096745f2971799bd0c9955cddeed24f0846f075
---
 gnu/packages/serialization.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 331fae80cf..be1410255a 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2023 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2024 Paul A. Patience <[email-masked]>
 ;;; Copyright © 2024 Arun Isaac <[email-masked]>
+;;; Copyright © 2024 Wilko Meyer <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -420,6 +421,25 @@ (define-public lua5.2-libmpack
     (inputs
      `(("lua" ,lua-5.2)))))
 
+(define-public libscfg
+  (package
+    (name "libscfg")
+    (version "0.1.1")
+    (home-page "https://git.sr.ht/~emersion/libscfg")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.sr.ht/~emersion/libscfg")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b1ps7wba4anm3x1yndnd730dwl6rdz3zwjgxmsyq31fnjrjydv9"))))
+    (build-system meson-build-system)
+    (synopsis "A C library for scfg")
+    (description "This package provides a C library for scfg.")
+    (license license:expat)))
+
 (define-public libyaml
   (package
     (name "libyaml")
-- 
2.41.0