From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0MuGAOOxD2IyxAAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UEeJOeKxD2LligAA9RJhRA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:06 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E9402FAC0 for ; Fri, 18 Feb 2022 15:49:06 +0100 (CET) Received: from localhost ([::1]:41324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4ZF-0005Hi-Rd for larch@yhetil.org; Fri, 18 Feb 2022 09:49:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RX-0005ZJ-6W for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RW-0005T4-Rl for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RW-0008Vf-Ps for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 12/31] gnu: Add tree-sitter-elm. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.164519524232531 (code B ref 49946); Fri, 18 Feb 2022 14:41:06 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:42 +0000 Received: from localhost ([127.0.0.1]:53798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R7-0008SW-LW for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:41 -0500 Received: from mout.gmx.net ([212.227.17.20]:50399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QV-0008NZ-FY for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195197; bh=UxRTXAxYZoUGi8KYjX2qz5kFiIeBYqcKccoSXQtExSU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=lyoyAJOll9AXqMm9Qb2lJ1S0T/VXw5rB3vePy2EEZ7mm6ZJmekZGeRU/aLdqEuprx KvMg8GOby6t6JYPfFiqjAUUqMMNrSrHyHtBSq6E2JeyDgTrC5YUqts8SlRnkZPCckO Ycu6oUWI55W43LgSH62OvN9N/Vx97lL596Gp6aLw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MEm6F-1nVDQE2bRj-00GHuA; Fri, 18 Feb 2022 15:39:57 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:29 +0000 Message-Id: <20220218143948.28989-12-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:RXQesLBIJ2dnAWanGMXAYYGjYCmQq6QZDBTEGPOnm8eJLDAQf2m PkKzF5uopgC74q0d76miVd7HM+S6XH6/HDvELjJYTTXMwgHsRAEpZA6JEtoBr3yxHw6EgY9 fLoBPMt3mQ3aSmmbeoydqXPCTCX2acwEtriCkra1rJwioEhXEeTsM+7wTBNnRpY6ZVXPNlr WX/kTcnMvXcsx+YjDU4Eg== X-UI-Out-Filterresults: notjunk:1;V03:K0:X5Kd/FM6lG8=:jEn8SZAjl004SqfEEiq3pN wSjfgwQLBEq1QRaRiH7uLDWVmhFhBQzyF9K0lT3klKKAUD2aBUolDbyyJR4EYldeCO3POtoKH mIktGtBsldvUZsQDpHpAHuov+m1g5PeA7KKeioBFVPA8NbIvhXht1SN6I7QQOHQ5TIGTRFhL7 KITfIDbmKNGLiTAhRmtw57jBfAhLD0IE6dXS88MsWwQ3P/1ObiWqJGy4eW/VHMas+UA7Srx6N hrOJ3jW10bw6c/FNLC4FYUeSuepSawwNkGaof9pPXbEyIQ5ZB42NR81H9E7nZVvQacyVBDlgY VMXHIY0zSX8BHXw5GaGTNC+uPRn3hv+Drc+Jdho0DJdr4L4gamPXjHggSForVKQc+ex+uTchz IxO7bz38ligBBcLqRl15V0OwC0EA2PBq6Z9ZIzB93a0yzJ2AQ8O5sNN4Oji3/NoplMOjIe7kS v27aywsVCUpFJhN0Okbz8uoBwzfliXroFjb3AmagHcwUNqjWAaUye3JU8PqXhY5wiLBM0mIRa BqLmgSIVkKz4pJOk5Lsd8V7s8lZQNKIlCRJs4g79LiDJLNJzjwRkox5+fd7vZmLtBUsRk4LY1 4bOmSgUVAMdQGzRtisj4YopOz6JxZQo60C74xV7iSoHNd4FTRycHG6tMqVHV98NGW88d4uUDI 5QKODdZD8RoPFd9bpGXhG7rubaVAlAO17N2kGGrKp7ULDNHPBSBtVTebB1weMAmgZdotEsqsb v0GlLNkxxw86XPvNvAd1ImyY07nhv5LvqgyjEZOW/T5amsScVNE3RqR43kBup/PxRURyzROJG cQz0TqGlHar2uge+cwB7NTqp7xyyfGA13b5qFXci8USWvCLcPRYRtKv4v9HqaNcsBES7+Y1q8 EtaP8XCEKG1GMwSHjZqY1Pcg4eOYtwydPTTkQoY58A+dFgDaKyzFDIt5YAGFk16R8W7IkWvgp k1y8sGTfA5ENwJfK0BwR1KaVPtFHCbi0fQ+2UQAvEgiAil9JScSu4UnBVZtjhQMFEKfDEGX6u AhC7+TdSSgDHixUtQ038ab70pst3qUhpp6u4S7M9vSt4xGz4EXvb6PyStNerY8jyGs0qXkk26 QvQE0BuyyYv/r0= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645195746; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DQntquex0feDEZSD+uP+T5tdA2nLHpF5Ql03JM2R9D0=; b=NQCpT89P4Yz4ZoVqRcpVUgt2LWi4ir1PmdZ8qkvVObWhLOtcSEwPpNSGC/rQEzRmnbVTUk qyzhqq4GbXhx0c5XrIMCpX2IrGv9p60AeB/sIYW1a0VLspTL+catglY8kHCMm8NU0+AXNR n0q/Ii7jJ+dxBFjMYYtEAjxo3AVAQvAMJx7Drr5DnCtMig2ixTXCiqbNy9OisSJz266Afz eNH+fo0+i+2LC5c6inzD57lzdEorv3U/SfFv3lbsKRa+GqYopZpnRq16Ga+NPVesbcps34 2Q9PPu0Yk3E3cwSzfXnzncKauzA4zuWviM/AAHd8+8WVxOa9YXUCVN1TzXdWmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195746; a=rsa-sha256; cv=none; b=g6WoZqY5J9PyJzgED38Xk1hp3cr2NvI66p9lY378nf6U71+EQ7F0eVmiLiFLpWsMjiTJct 0j2fyHw/PEXYiZV9E1zU1oQTqF8vjIbznjra3E74Bg/cNjHHkn3QMNgfpux3cOl3IBGbFZ PLJEaJOxwbd4qdq3HSv4bUizpOICSUCcYUnYvsiCDnVhgWpLU3XOoT4WpgVNVu3DDk0DEw n7hyO727ZCi5hRiEa+4v8MuaqL4XDbLZvhzI8TnBSWuvfoyIETAvXnUq9UISWpzcFPrhmO e6dsJrVLI5PbpupFXYOcfxX5NSchMeoSGOafv4Scpa5ptClzg512Coe64pBaFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=lyoyAJOl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=lyoyAJOl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9E9402FAC0 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: VxDc9T3Q4FWw * gnu/packages/tree-sitter.scm (tree-sitter-elm): New variable. =2D-- gnu/packages/tree-sitter.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 134d2768cf..5ade030283 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -376,3 +376,36 @@ (define-public tree-sitter-elixir (license (list license:asl2.0 ;; Files in tests/corpus are under MIT license. license:expat))))) + +(define-public tree-sitter-elm + (package (inherit tree-sitter-c) + (name "tree-sitter-elm") + (version "5.5.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elm-tooling/tree-sitter-elm"= ) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10hbi4vyj4hjixqswdcbvzl60prldczz29mlp02if61wvwiwvqrw")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + (replace 'delete-dependencies + (lambda _ + (delete-dependencies '("tree-sitter-cli" + "nan" + "node-gyp" + "@asgerf/dts-tree-sitter" + "prebuild" + "prebuild-install")))))))) + (home-page "https://elm-tooling.github.io/tree-sitter-elm/") + (synopsis "Tree-sitter Elm grammar") + (description + "This package provides an Elm grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.34.0