This commit is contained in:
Lynn Leichtle 2024-09-19 22:13:40 +02:00
parent 6fac67fbb1
commit 89bb060fdf
Signed by: lynn
GPG key ID: 55E797F631DDA03C

View file

@ -0,0 +1,37 @@
(define-module (artoria packages zig-xyz)
#:use-module (gnu packages python)
#:use-module (artoria packages zig)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system zig)
#:use-module ((guix licenses) #:prefix license:))
(define-public zig-zls
(package
(name "zig-zls")
(version "master")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zigtools/zls")
(commit version)
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
"0q0rydkyh3hs5irl9l0lknsk9816b9xhnrw4bfnrkrg6djpqqph9"))))
(build-system zig-build-system)
(inputs (list zig-bin-next python))
(arguments
;; The tests fail with memory leaks.
(list
#:tests? #f
#:zig zig-bin-next))
(synopsis "Zig language server")
(description
"Zig Language Server is a language server implementing the @acronym{LSP,
Language Server Protocol} for the Zig programming language.")
(home-page "https://github.com/zigtools/zls")
(license license:expat)))