summaryrefslogtreecommitdiff
path: root/gnu/packages/zig-xyz.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-11-20 09:48:02 +0800
committerHilton Chain <hako@ultrarare.space>2024-12-31 18:55:07 +0800
commit83fc6cd594859cafa56acf7b17eeefab53afe4be (patch)
treea1ba223f36da63d32edb639a8d9ec1529946d9ec /gnu/packages/zig-xyz.scm
parent974e39ac2b10c79f6d7eb8a6441804174a132f5b (diff)
gnu: Add zig-zls-0.13.
* gnu/packages/zig-xyz.scm (zig-zls-0.13): New variable. (zig-zls): Define as it. Change-Id: I5422ccf78033053a56cbf7875481942132b16b58
Diffstat (limited to 'gnu/packages/zig-xyz.scm')
-rw-r--r--gnu/packages/zig-xyz.scm22
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 2e69d1deba..a76dbb0473 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -366,4 +366,24 @@ Language Server Protocol} for the Zig programming language.")
(inputs (list zig-diffz zig-known-folders))
(native-inputs (list zig-0.12))))
-(define-public zig-zls zig-zls-0.10)
+(define-public zig-zls-0.13
+ (let ((base zig-zls-0.12))
+ (package
+ (inherit base)
+ (name "zig-zls")
+ (version "0.13.0")
+ (source (origin
+ (inherit (package-source base))
+ (uri (git-reference
+ (url "https://github.com/zigtools/zls")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dbg06v136yjcs9grc6xwsmv0cm39c0sdkh5vzn7h1qxxka6ixlp"))))
+ (build-system zig-build-system)
+ (native-inputs
+ (modify-inputs (package-native-inputs base)
+ (replace "zig" zig-0.13))))))
+
+(define-public zig-zls zig-zls-0.13)