[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add libinih.
From: |
guix-commits |
Subject: |
01/02: gnu: Add libinih. |
Date: |
Thu, 24 Dec 2020 15:20:02 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit fcdf4b4ec6192a81dd2a8b8fb58e1c0f3e91a4d9
Author: Vincent Legoll <vincent.legoll@gmail.com>
AuthorDate: Wed Dec 23 18:14:25 2020 +0100
gnu: Add libinih.
* gnu/packages/linux.scm (libinih): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/linux.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 01f12f7..cb63323 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7000,6 +7000,31 @@ communicate with the kernel. It can be used to add and
remove interfaces, set
IP addresses and routes, and configure IPsec.")
(license license:asl2.0)))
+(define-public libinih
+ (package
+ (name "libinih")
+ (version "52")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/benhoyt/inih")
+ (commit (string-append "r" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0lsvm34zabvi1xlximybzvgc58zb90mm3b9babwxlqs05jy871m4"))))
+ (build-system meson-build-system)
+ (arguments
+ '(#:configure-flags '("-Ddistro_install=true"
"-Ddefault_library=shared")))
+ (home-page "https://github.com/benhoyt/inih")
+ (synopsis "Simple .INI parser library for C")
+ (description "The inih (INI Not Invented Here) library is a simple .INI
file
+parser written in C. It's only a couple of pages of code, and it was designed
to
+be small and simple, so it's good for embedded systems. It's also more or less
+compatible with Python's ConfigParser style of .INI files, including RFC
+822-style multi-line syntax and name: value entries.")
+ (license license:bsd-3)))
+
(define-public xfsprogs
(package
(name "xfsprogs")