guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

69/72: gnu: Add zig-diffz.


From: guix-commits
Subject: 69/72: gnu: Add zig-diffz.
Date: Thu, 21 Nov 2024 07:19:53 -0500 (EST)

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

commit 9dceb67660109648c2ab0536aa68ec5696ad01a7
Author: Hilton Chain <hako@ultrarare.space>
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 a7ad3f00f1..fc11f51847 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -36,6 +36,30 @@
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages zig))
 
+(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 river
   (package
     (name "river")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]