From patchwork Mon Mar 17 00:01:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clark X-Patchwork-Id: 40273 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3304E27BBEA; Mon, 17 Mar 2025 06:42:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 32AFB27BBE9 for ; Mon, 17 Mar 2025 06:42:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tu4BA-0002Dl-OT; Mon, 17 Mar 2025 02:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tu2Jb-0005D1-RQ for guix-patches@gnu.org; Mon, 17 Mar 2025 00:43:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tu2Jb-0002vk-9V for guix-patches@gnu.org; Mon, 17 Mar 2025 00:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=teWZphGmPOhQUBNOhGVZjxD/WmdrsZOXiDFaypOt3jc=; b=lQ9ZoIMYJ4BLiav504+OARjfXkHIH4TlOY9r08UPzbdvFg+/dXfB0hQjHrYk84b5EYrAiu7v87QpvP1A611ixooxnk1j6kKCgPckuRRKumKFTwO+OuexyLcv6/XDK4ZRqRVTQS3VcoiYss9VfvqNRMa804hN0WnV0qPoERRq+vlqcjJLALn3TGncn3Jp3c75GCD7JYuSck8l5z3hT0rf4bJOpklnLEAI6LaSycdwUEhP6pEyf0skU3FQqHY0V2Mp0T2E3y4376hQ9dNUgQgzPvnR7x4etDQ4NrG7w+H6+XS/BODUBHJIuIgEtnj/3Pr8q/CH6aZ5hLvwlg8S8rVHCg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tu2Jb-0006SF-0K for guix-patches@gnu.org; Mon, 17 Mar 2025 00:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77064] [PATCH] Add ZLS 0.14 & dependencies Resent-From: Joshua Clark Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Mar 2025 04:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77064 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77064@debbugs.gnu.org Cc: Joshua Clark X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174218656024645 (code B ref -1); Mon, 17 Mar 2025 04:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2025 04:42:40 +0000 Received: from localhost ([127.0.0.1]:53212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tu2JA-0006P8-S6 for submit@debbugs.gnu.org; Mon, 17 Mar 2025 00:42:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44892) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ttxwF-0005SF-Ox for submit@debbugs.gnu.org; Sun, 16 Mar 2025 20:02:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ttxw6-0003cY-Ew for guix-patches@gnu.org; Sun, 16 Mar 2025 20:02:30 -0400 Received: from mout-y-209.mailbox.org ([2001:67c:2050:103:465::209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ttxw0-0005NN-MI for guix-patches@gnu.org; Sun, 16 Mar 2025 20:02:28 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4ZGFX46T8DzB0B4 for ; Mon, 17 Mar 2025 01:02:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1742169732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=teWZphGmPOhQUBNOhGVZjxD/WmdrsZOXiDFaypOt3jc=; b=c5SbQwwqkBuNlfZs6xrf7q9hg9ZgP9D30sNXFfxT62Al1UBRwYOP1etLgGli0L26Mn467M DFJ7uPSDmw5hKAfi/os6JVkm2+qbYSzVXvshaVyXFVIDJrTt14U0J3IDDEkW0rHARCidtK m4SydTpVeK7n4+TB09CwjDHVVDTcgYmB8ECSRDAoBLWEW6+RE1wf2hw8hSyPi/KLkGhyIJ zYsRVixsNFMvSn1tGrKdL3+T6Dw83fj7zndeGY4sEuhew2B+5G+rKv4tr/9w5OJGgBnxau e9AhFlOQfa5p1Pz7tdaFfew+22vKWoamPLlvf6fxu9qEXAXsuvybEa1yjl59bQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1742169732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=teWZphGmPOhQUBNOhGVZjxD/WmdrsZOXiDFaypOt3jc=; b=c5SbQwwqkBuNlfZs6xrf7q9hg9ZgP9D30sNXFfxT62Al1UBRwYOP1etLgGli0L26Mn467M DFJ7uPSDmw5hKAfi/os6JVkm2+qbYSzVXvshaVyXFVIDJrTt14U0J3IDDEkW0rHARCidtK m4SydTpVeK7n4+TB09CwjDHVVDTcgYmB8ECSRDAoBLWEW6+RE1wf2hw8hSyPi/KLkGhyIJ zYsRVixsNFMvSn1tGrKdL3+T6Dw83fj7zndeGY4sEuhew2B+5G+rKv4tr/9w5OJGgBnxau e9AhFlOQfa5p1Pz7tdaFfew+22vKWoamPLlvf6fxu9qEXAXsuvybEa1yjl59bQ== Date: Sun, 16 Mar 2025 17:01:59 -0700 Message-ID: <89af09484f8ec27eeb219025fc04f0dabe2290ff.1742169719.git.joshua.clark@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: c2bac004f62e082a7e7 X-MBO-RS-META: py7j35s6awwkiap7i34nquj43oazdbnd Received-SPF: pass client-ip=2001:67c:2050:103:465::209; envelope-from=joshua.clark@mailbox.org; helo=mout-y-209.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 17 Mar 2025 00:42:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 17 Mar 2025 02:42:24 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Joshua Clark X-ACL-Warn: , Joshua Clark via Guix-patches X-Patchwork-Original-From: Joshua Clark via Guix-patches via From: Joshua Clark Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/zig-xyz.scm | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) base-commit: ccc9fd93c402a251bf53b25bd92be0a856f7999d diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index a76dbb0473..456487d4fe 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -188,6 +188,30 @@ (define-public zig-known-folders (home-page "https://github.com/ziglibs/known-folders") (license license:expat)))) +(define-public zig-known-folders-for-zig-0.14.0 + (let ((commit "aa24df42183ad415d10bc0a33e6238c437fc0f59") + (revision "0")) + (package + (name "zig-known-folders") + (version (git-version "0.14.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ziglibs/known-folders") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ilq3hqprrwpbz7ckp01g4ksl41jq57rd7zf622w3immy6apc8k2")))) + (build-system zig-build-system) + (arguments (list #:zig zig-0.14)) + (synopsis "Zig library to access well-known folders") + (description + "This package provides a Zig library for accessing well-known folders +across several operating systems.") + (home-page "https://github.com/ziglibs/known-folders") + (license license:expat)))) + (define-public zig-pixman (package (name "zig-pixman") @@ -301,6 +325,29 @@ (define-public zig-xkbcommon (home-page "https://codeberg.org/ifreund/zig-xkbcommon") (license license:expat))) +(define-public zig-lsp-codegen + (let ((commit "063a98c13a2293d8654086140813bdd1de6501bc") + (revision "0")) + (package + (name "zig-known-folders") + (version (git-version "0.1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zigtools/zig-lsp-codegen") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "041lk25x050pz7yc781fn8bfpzci4kdrz8mw69sjs2f5mpyn4d1b")))) + (build-system zig-build-system) + (arguments (list #:zig zig-0.14)) + (synopsis "LSP codegen based on the MetaModel") + (description + "Generates std.json compatible Zig code based on the official LSP MetaModel") + (home-page "https://github.com/zigtools/zig-lsp-codegen") + (license license:expat)))) + (define-public zig-zls-0.10 (package (name "zig-zls") @@ -386,4 +433,29 @@ (define-public zig-zls-0.13 (modify-inputs (package-native-inputs base) (replace "zig" zig-0.13)))))) +(define-public zig-zls-0.14 + (let ((base zig-zls-0.13)) + (package + (inherit base) + (name "zig-zls") + (version "0.14.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 + "1al4ry22y56v1jbph3vb6la2ln8dxc8hb3g7byng6yf8czx2g4q3")))) + (build-system zig-build-system) + (arguments + (list #:zig (this-package-native-input "zig") + #:install-source? #f + #:zig-release-type "safe")) + (inputs (list zig-diffz zig-known-folders-for-zig-0.14.0 zig-lsp-codegen)) + (native-inputs + (modify-inputs (package-native-inputs base) + (replace "zig" zig-0.14)))))) + (define-public zig-zls zig-zls-0.13)