diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-06-06 21:04:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-06-13 22:41:46 +0200 |
commit | 6d9d99fe5421d1a15950cc0d340754265ef66fa0 (patch) | |
tree | 7f21d573def7ea497a7801a0bf1e241645f3d27d /gnu | |
parent | 8723acd100242f49db2fadc6b1a240908e1de155 (diff) | |
download | guix-6d9d99fe5421d1a15950cc0d340754265ef66fa0.tar.gz guix-6d9d99fe5421d1a15950cc0d340754265ef66fa0.zip |
gnu: Add libscfg.
* gnu/packages/serialization.scm (libscfg): New variable.
Change-Id: I0096745f2971799bd0c9955cddeed24f0846f075
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/serialization.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 23959ebc4f..ab0b9f0681 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -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 @@ that implements both the msgpack and msgpack-rpc specifications.") (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") |