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

commit 7a29d679676430bd0c17cbee2449f0e1b7f44095
Author: Hilton Chain <[email protected]>
AuthorDate: Wed Nov 20 09:46:49 2024 +0800

    gnu: Add zig-diffz.
    
    * gnu/packages/zig-xyz.scm (zig-diffz): New variable.
    
    Change-Id: I71d958c56af2ed4180f00d7ce7e2018b528710a5
---
 gnu/packages/zig-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 3b7569f714..3e1cc51947 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -109,6 +109,30 @@ mission-critical safety and performance for financial 
services.")
     (home-page "https://github.com/tigerbeetledb/tigerbeetle";)
     (license license:asl2.0)))
 
+(define-public zig-diffz
+  (let ((commit "420fcb22306ffd4c9c3c761863dfbb6bdbb18a73")
+        (revision "0"))
+    (package
+      (name "zig-diffz")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ziglibs/diffz";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0rbcprl2c1kbd7xfwdqycz8r5grm069fcy6fafi14cnak77i0xyi"))))
+      (build-system zig-build-system)
+      (arguments (list #:skip-build? #t))
+      (synopsis "Implementation of go-diff's diffmatchpatch in Zig")
+      (description
+       "This package provides a Zig implementation of @code{diffmatchpatch} in
+@code{go-github-com-sergi-go-diff}.")
+      (home-page "https://github.com/ziglibs/diffz";)
+      (license license:expat))))
+
 (define-public zig-pixman
   (package
     (name "zig-pixman")

Reply via email to