[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/72: gnu: Add zig-zls-0.12.
From: |
guix-commits |
Subject: |
71/72: gnu: Add zig-zls-0.12. |
Date: |
Thu, 21 Nov 2024 07:19:53 -0500 (EST) |
hako pushed a commit to branch wip-zig-bootstrap
in repository guix.
commit e61fac30412c7c38e08b2ba1833929c32a318fa8
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Wed Nov 20 09:47:43 2024 +0800
gnu: Add zig-zls-0.12.
* gnu/packages/zig-xyz.scm (zig-zls-0.12): New variable.
Change-Id: I4fe7ef482954d6d3cbd319735aab28cae9624c5d
---
gnu/packages/zig-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index b8594cecb4..64e13e8388 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -272,4 +272,35 @@ Language Server Protocol} for the Zig programming
language.")
(home-page "https://github.com/zigtools/zls")
(license license:expat)))
+(define-public zig-zls-0.12
+ (package
+ (inherit zig-zls-0.10)
+ (name "zig-zls")
+ (version "0.12.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zigtools/zls")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ini1ifa9b0v2ika3sqsiiv2p7v9npfslss45280yxwn2pjqmn7n"))))
+ (build-system zig-build-system)
+ (inputs (list zig-0.12))
+ (arguments
+ (let ((version-data-path
+ #~(string-append "-Dversion_data_path="
+ #+(package-source (this-package-input "zig"))
+ "/doc/langref.html.in")))
+ (list #:zig (this-package-input "zig")
+ #:zig-release-type "safe"
+ #:zig-build-flags
+ #~(list #$version-data-path)
+ #:zig-test-flags
+ #~(list #$version-data-path)
+ #:zig-inputs
+ `(("known_folders" ,zig-known-folders)
+ ("diffz" ,zig-diffz)))))))
+
(define-public zig-zls zig-zls-0.10)
- 64/72: gnu: Add zig-wayland., (continued)
- 64/72: gnu: Add zig-wayland., guix-commits, 2024/11/21
- 41/72: gnu: Add zig-0.11.0-587., guix-commits, 2024/11/21
- 51/72: gnu: Add zig-0.11.0-3506., guix-commits, 2024/11/21
- 47/72: gnu: Add zig-0.11.0-3245., guix-commits, 2024/11/21
- 53/72: gnu: Add zig-0.12., guix-commits, 2024/11/21
- 59/72: gnu: zig: Respect the PKG_CONFIG environment variable., guix-commits, 2024/11/21
- 44/72: gnu: Add zig-0.11.0-702., guix-commits, 2024/11/21
- 70/72: gnu: Add zig-known-folders., guix-commits, 2024/11/21
- 56/72: gnu: ncdu: Update to 2.6., guix-commits, 2024/11/21
- 63/72: gnu: Add zig-pixman., guix-commits, 2024/11/21
- 71/72: gnu: Add zig-zls-0.12.,
guix-commits <=
- 61/72: DRAFT: build-system: zig: Support Zig package manager., guix-commits, 2024/11/21
- 66/72: gnu: Add zig-xkbcommon., guix-commits, 2024/11/21
- 67/72: gnu: river: Update to 0.3.5., guix-commits, 2024/11/21
- 68/72: gnu: zig-zls: Rename variable to zig-zls-0.10., guix-commits, 2024/11/21