From patchwork Mon Oct 28 02:40:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 69575 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 154C627BBE9; Mon, 28 Oct 2024 02:42:10 +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,URIBL_BLOCKED autolearn=unavailable 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 693F727BBE2 for ; Mon, 28 Oct 2024 02:42:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5FhQ-0005Lt-1F; Sun, 27 Oct 2024 22:41:44 -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 1t5FhF-0005LB-5F for guix-patches@gnu.org; Sun, 27 Oct 2024 22:41:34 -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 1t5FhE-0002cQ-RF for guix-patches@gnu.org; Sun, 27 Oct 2024 22:41:32 -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:In-Reply-To:References:Subject; bh=yxMN5uEtuVYOkvMg5tTDebeWbNpRL63A0ZLd+AIGHQ0=; b=bHxQ7a3MXQ0vh+WGaeXg+UcS8FlMlyxX2PGrgV4QwYecZulqKFvaIuVDio+e+6YYr7RMy3HeBbUGSTVpBiZ+ISeuvuelZL7SJJjLgY66nPtulI7jPs3UL+DfsSWqkFCEoxAxvVOYQchkBytmwJcN63EPxRz4yvr6CM2WWhjAnnOH9jkSrQ0I9AOkPwSV9ZBeBijQ0HZZFi8RasD5pDHGV3TkNeSN0GpKCRiYOvX9ln5zaiIP3agVw+Jh4D81dcn1sbgQKUL9V1b7brzbsu9cy4WZHtKgSiKvh8dAJeK1csAkiAmZiMg/mhmB6kx/UsSVNYVlk6gQDXm4XNPkJFAngw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5Fhi-0007BY-6N; Sun, 27 Oct 2024 22:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62664] [PATCH v2] gnu: Add emacs-copilot. References: <20230404143043.3202-1-Rostislav.Svoboda@gmail.com> In-Reply-To: <20230404143043.3202-1-Rostislav.Svoboda@gmail.com> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: rostislav.svoboda@gmail.com, jgart@dismail.de, liliana.prikler@gmail.com, g@xelera.eu, bjc@spork.org, mail@nicolasgoaziou.fr, andrew@trop.in, cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 02:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62664@debbugs.gnu.org Cc: jgart , Rostislav Svoboda , Rostislav Svoboda , jgart , Liliana Marie Prikler , Giovanni Biscuolo , Brian Cully , Nicolas Goaziou , Andrew Tropin , Katherine Cox-Buday X-Debbugs-Original-Xcc: Rostislav Svoboda , jgart , Liliana Marie Prikler , Giovanni Biscuolo , Brian Cully , Nicolas Goaziou , Andrew Tropin , Katherine Cox-Buday Received: via spool by 62664-submit@debbugs.gnu.org id=B62664.173008331827609 (code B ref 62664); Mon, 28 Oct 2024 02:42:02 +0000 Received: (at 62664) by debbugs.gnu.org; 28 Oct 2024 02:41:58 +0000 Received: from localhost ([127.0.0.1]:49191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Fhd-0007BE-RB for submit@debbugs.gnu.org; Sun, 27 Oct 2024 22:41:58 -0400 Received: from mx1.dismail.de ([78.46.223.134]:46531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5FhZ-0007Av-5a for 62664@debbugs.gnu.org; Sun, 27 Oct 2024 22:41:55 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 416e99b2; Mon, 28 Oct 2024 03:41:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=0ZimoSB6YgMG+9zTQKwaLtCnNulqLJgMBaZk2Fh5CPs=; b= SCR8VPoBe8dokOdGSrP+BWo54+B/YB1kU8Yfdlu+alUw+t+l4ut7VwpBicLXZaMB Zz3e+57AsbV54RQtHaLpEAvTR6BIDlc2LfNKKVfWfyAGh19DsG2WAZ+YKFZkDKZZ WbFj8woDdlbp1oNyEBq9KCyUgG3jT3oInzrxk+dLhK1Puntw2eymXiaDou2+766v orHY63S3R2+QzX/2X+UdtLDDW+r+jn5mUIA9ddd0SO4lrziJqL0mkO2ZHXegkqKz /k5O7r/e8V9NJ9fdTfTx1OrXyUil7+JI8nfIpZesIWSqBS+Ams6mMbXvY9OPI2NK doBGQgm/vrBuceggoHkcYg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4ff46ac8; Mon, 28 Oct 2024 03:41:07 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id ccb965f0; Mon, 28 Oct 2024 03:41:07 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c49bd1eb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 28 Oct 2024 03:41:01 +0100 (CET) Date: Sun, 27 Oct 2024 21:40:38 -0500 Message-ID: <345b7770e3f714e100b271ea3c7e71a7f2e5a6c7.1730083238.git.jgart@dismail.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart 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/emacs-xyz.scm (emacs-copilot): New variable. Co-authored-by: Rostislav Svoboda Change-Id: If2e32f5cc4df95ce99642b41a1df818a35b4343c --- gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 0d15c6e46c5c3a14ae776bb98c293527ba8ad319 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 488b4cb5d7..76c9ed9947 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4422,6 +4422,43 @@ (define-public emacs-carp listing type errors via Flycheck, as well as REPL support for Carp.") (license license:asl2.0)))) +(define-public emacs-copilot + (let ((commit "b5878d6a8c741138b5efbf4fe1c594f3fd69dbdd") + (revision "0")) + (package + (name "emacs-copilot") + (version (git-version "1.27.0" revision commit)) + (source + (origin + (uri (git-reference + (url "https://github.com/copilot-emacs/copilot.el") + (commit commit))) + (method git-fetch) + (sha256 + (base32 "1dgi3g2n57dv1a8hjjzgccrbl1bdf4xqwn9bmr453fz4qfab0v6k")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-copilot-node-executable + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "copilot.el" + ("copilot-node-executable" + (search-input-file inputs "/bin/node")))))))) + (inputs (list node-lts)) + (propagated-inputs + (list emacs-dash + emacs-editorconfig + emacs-f + emacs-s)) + (home-page "https://github.com/copilot-emacs/copilot.el") + (synopsis "Copilot plugin for Emacs") + (description + "This package provides an Emacs plugin for GitHub Copilot.") + (license license:expat)))) + (define-public emacs-coterm (package (name "emacs-coterm")