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
This commit is contained in:
Hilton Chain 2024-11-20 09:48:02 +08:00
parent 974e39ac2b
commit 83fc6cd594
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -366,4 +366,24 @@ (define-public zig-zls-0.12
(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)