gnu: Add libscfg.

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

Change-Id: I0096745f2971799bd0c9955cddeed24f0846f075
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Wilko Meyer 2024-06-06 21:04:55 +02:00 committed by Ludovic Courtès
parent 8723acd100
commit 6d9d99fe54
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -19,6 +19,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@ -420,6 +421,28 @@ (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 "Scfg library written in C")
(description
"This package provides a C library for to parse
@uref{https://git.sr.ht/~emersion/scfg, scfg}, a simple configuration file
format with one directive per line.")
(license license:expat)))
(define-public libyaml
(package
(name "libyaml")