unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 62664@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>,
	Rostislav Svoboda <rostislav.svoboda@gmail.com>,
	jgart <jgart@dismail.de>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>,
	Giovanni Biscuolo <g@xelera.eu>, Brian Cully <bjc@spork.org>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	Andrew Tropin <andrew@trop.in>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>
Subject: [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
Date: Mon, 23 Dec 2024 11:44:39 -0600	[thread overview]
Message-ID: <3934658d0ee2bd28b35d1d0205a196275296863e.1734975879.git.jgart@dismail.de> (raw)
In-Reply-To: <20230404143043.3202-1-Rostislav.Svoboda@gmail.com>

* gnu/packages/emacs-xyz.scm (emacs-copilot): New variable.

Change-Id: I3d693e5a59a28f488663421e6b2948cf8b51e031
---
 gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 65563bec24..f5826a87aa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29992,6 +29992,43 @@ (define-public emacs-dired-preview
 customisation options to control its behaviour.")
     (license license:gpl3+)))
 
+(define-public emacs-copilot
+  (let ((commit "d2126f288cebd9cd7e768c53a4cbfa6eedcb0666")
+        (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 "14qnhp9pzilkrkaz2w52ylanjg44idi41dg6g7lqqc4fk0ib12kj"))
+         (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-dired-launch
   (package
     (name "emacs-dired-launch")

base-commit: 64774d76869cd14712064d34f82f06c78ee796a6
-- 
2.46.0





  parent reply	other threads:[~2024-12-23 17:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
2023-04-04 14:35 ` Rostislav Svoboda
2023-04-04 14:54 ` jgart via Guix-patches via
2023-04-04 19:19 ` Liliana Marie Prikler
2023-04-05 13:07   ` Giovanni Biscuolo
2023-04-06 19:34   ` Brian Cully via Guix-patches via
2023-04-07  5:00 ` [bug#62664] jgart via Guix-patches via
2024-10-17 22:26   ` [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot jgart via Guix-patches via
2024-10-27 10:39     ` Nicolas Goaziou via Guix-patches via
2024-10-28  2:41       ` jgart via Guix-patches via
2024-12-23 17:47         ` jgart via Guix-patches via
2024-12-23 18:34           ` jgart via Guix-patches via
2024-12-23 19:02             ` Liliana Marie Prikler
2024-10-28  2:40 ` [bug#62664] [PATCH v2] " jgart via Guix-patches via
2024-12-23 17:44 ` jgart via Guix-patches via [this message]
2024-12-24  8:20   ` [bug#62664] [PATCH v3] " Liliana Marie Prikler
2024-12-24 15:03     ` jgart via Guix-patches via
2024-12-24 15:13       ` jgart via Guix-patches via
2024-12-24 18:11       ` Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3934658d0ee2bd28b35d1d0205a196275296863e.1734975879.git.jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=62664@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=bjc@spork.org \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=g@xelera.eu \
    --cc=jgart@dismail.de \
    --cc=liliana.prikler@gmail.com \
    --cc=mail@nicolasgoaziou.fr \
    --cc=rostislav.svoboda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).