unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dakota Logan <dklogan@riseup.net>
To: 63138@debbugs.gnu.org
Cc: Dakota Logan <dklogan@riseup.net>
Subject: [bug#63138] [PATCH] gnu: Add chatgpt-shell.
Date: Thu, 27 Apr 2023 13:46:50 -0400	[thread overview]
Message-ID: <20230427174650.2034958-1-dklogan@riseup.net> (raw)

* gnu/packages/emacs-xyz.scm (emacs-chatgpt-shell, emacs-shell-maker): New variables.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3fa367ce74..2f934537a4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -444,6 +444,41 @@ favourite Scheme implementation, you also need the corresponding geiser package,
 e.g. emacs-geiser-guile for Guile.")
     (license license:bsd-3)))
 
+(define-public emacs-shell-maker
+(package
+    (name "emacs-shell-maker")
+    (version "20230427.808")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://melpa.org/packages/shell-maker-"
+                                  version ".el"))
+              (sha256
+               (base32
+                "19qamx8rkll2xmkp85dx9qxvlbmcj8d35fksjssa1s05y1akmwad"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/xenodium/chatgpt-shell")
+    (synopsis "Emacs wraparound for comint-mode for creating local and cloud shells")
+    (description "@code{emacs-shell-maker} is a library building on Emacs comint-mode.  It allows users to conveniently create shells for local and cloud LLM services, such as ChatGPT.")
+    (license license:gpl3+)))
+
+(define-public emacs-chatgpt-shell
+(package
+    (name "emacs-chatgpt-shell")
+    (version "20230427.808")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://melpa.org/packages/chatgpt-shell-"
+                                  version ".el"))
+              (sha256
+               (base32
+                "0plhxmn4ggxw5ph002ggh3j9v5g2dghr742r0287hprl7r0wcisz"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-shell-maker))
+    (home-page "https://github.com/xenodium/chatgpt-shell")
+    (synopsis "ChatGPT shell for Emacs")
+    (description "@code{emacs-chatgpt-shell} is a client for interacting with the ChatGPT and DALL-E LLM services.  Building on comint-mode and the @code{emacs-shell-maker} library, it allows the user to interact with the service via a custom shell or an Org-mode buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-gptel
   (package
     (name "emacs-gptel")

base-commit: d59b4764f3171b1430a6d3b954659b8aab730475
-- 
2.30.2





             reply	other threads:[~2023-04-28 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27 17:46 Dakota Logan [this message]
2023-05-03 12:50 ` [bug#63138] [PATCH] gnu: Add chatgpt-shell Nicolas Goaziou

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=20230427174650.2034958-1-dklogan@riseup.net \
    --to=dklogan@riseup.net \
    --cc=63138@debbugs.gnu.org \
    /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).