Subject: [bug#75522] [PATCH v0 1/4] gnu: Add zig-clap.

From: Ashvith Shetty <[email-masked]>
Date: Sun, 12 Jan 2025 23:49:00 +0530

* gnu/packages/zig-xyz.scm (zig-clap): New variable.

Change-Id: Ib438ffa083bd96102e4058d2c64dccecadff1aa5
---
 gnu/packages/zig-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index a76dbb0473..afb609ad50 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2023 Ekaitz Zarraga <[email-masked]>
 ;;; Copyright © 2023 Felix Lechner <[email-masked]>
 ;;; Copyright © 2024 Justin Veilleux <[email-masked]>
+;;; Copyright © 2024 Ashvith Shetty <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -301,6 +302,26 @@ (define-public zig-xkbcommon
     (home-page "https://codeberg.org/ifreund/zig-xkbcommon")
     (license license:expat)))
 
+(define-public zig-clap
+  (package
+    (name "zig-clap")
+    (version "0.9.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Hejsil/zig-clap")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1xjskvyib3kai3nmp574zfm07yvjsbzsxfysj96ss9339nq07ix6"))))
+    (build-system zig-build-system)
+    (home-page "https://github.com/Hejsil/zig-clap")
+    (synopsis "Command line argument parsing library")
+    (description
+     "A simple and easy to use command line argument parser library for Zig.")
+    (license license:expat)))
+
 (define-public zig-zls-0.10
   (package
     (name "zig-zls")
-- 
2.47.1