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

From: Ashvith Shetty <[email-masked]>
Date: Mon, 24 Mar 2025 17:42:31 +0530

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

Change-Id: Iae01f44bd9ddb312b51cf899c24f6b56a808d026

---

gnu/packages/zig-xyz.scm | 22 ++++++++++++++++++++++

1 file changed, 22 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm

index a76dbb0473..4d1cbf9000 100644

--- a/gnu/packages/zig-xyz.scm

+++ b/gnu/packages/zig-xyz.scm

@@ -3,6 +3,7 @@

;;; Copyright © 2023 Ekaitz Zarraga <mailto:[email-masked]>

;;; Copyright © 2023 Felix Lechner <mailto:[email-masked]>

;;; Copyright © 2024 Justin Veilleux <mailto:[email-masked]>

+;;; Copyright © 2025 Ashvith Shetty <mailto:[email-masked]>

;;;

;;; This file is part of GNU Guix.

;;;

@@ -141,6 +142,27 @@ (define-public waylock

@code{ext-session-lock-v1} protocol.")

     (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 for Zig")

+    (description

+     "@code{zig-clap} is a simple and easy to use command line argument parser library for

+Zig.")

+    (license license:expat)))

+

(define-public zig-diffz

   (let ((commit "420fcb22306ffd4c9c3c761863dfbb6bdbb18a73")

         (revision "0"))

--

2.48.1