hako pushed a commit to branch wip-zig-bootstrap
in repository guix.

commit c9cf82c712907e50fa391e2913f67ea2e753075a
Author: NoĆ© Lopez <[email protected]>
AuthorDate: Tue Dec 3 23:30:16 2024 +0800

    gnu: Add zig-ini.
    
    * gnu/packages/zig-xyz.scm (zig-ini): New variable.
    
    Modified-by: Hilton Chain <[email protected]>
    Signed-off-by: Hilton Chain <[email protected]>
    Change-Id: I22565fccec0a8904557cd1cdcf94426f3d87af04
---
 gnu/packages/zig-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index c6c419b5f2..b8e7b16e5f 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -125,6 +125,35 @@ will cause the executable to crash.")
       (home-page "https://github.com/kristoff-it/zig-doctest";)
       (license license:expat))))
 
+(define-public zig-ini
+  ;; No releases.
+  (let ((commit "e18d36665905c1e7ba0c1ce3e8780076b33e3002")
+        (revision "0"))
+    (package
+      (name "zig-ini")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ziglibs/ini";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0b1688g6kvcrbr8pbl3glv09fpd27p5z2bif8jmn6km6myq5fs1y"))))
+      (build-system zig-build-system)
+      (home-page "https://github.com/ziglibs/ini";)
+      (synopsis "INI parser library")
+      (description
+       "This package provides an INI parser library with:
+@itemize
+@item Raw record reading.
+@item Leading/trailing whitespace removal.
+@item Comments based on @code{;} and @code{#}.
+@item C and Zig API.
+@end itemize")
+      (license license:expat))))
+
 (define-public zig-known-folders
   (let ((commit "1cceeb70e77dec941a4178160ff6c8d05a74de6f")
         (revision "0"))

Reply via email to