summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-11-20 09:46:49 +0800
committerHilton Chain <hako@ultrarare.space>2024-12-31 18:50:45 +0800
commit887ce818880c4723c07aa69b0cf16deffcbad208 (patch)
treeedc99b431c29083603ca536db5aa910ce7885879 /gnu
parent8e80700b06e125157598b8d741234716ea13ef52 (diff)
gnu: Add zig-diffz.
* gnu/packages/zig-xyz.scm (zig-diffz): New variable. Change-Id: I71d958c56af2ed4180f00d7ce7e2018b528710a5
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/zig-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index a9ad1abde5..87dd31875b 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -141,6 +141,30 @@ mission-critical safety and performance for financial services.")
@code{ext-session-lock-v1} protocol.")
(license license:expat)))
+(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")