GNU bug report logs - #63138
[PATCH] gnu: Add chatgpt-shell.

Previous Next

Package: guix-patches;

Reported by: Dakota Logan <dklogan <at> riseup.net>

Date: Fri, 28 Apr 2023 05:28:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63138 in the body.
You can then email your comments to 63138 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63138; Package guix-patches. (Fri, 28 Apr 2023 05:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dakota Logan <dklogan <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 28 Apr 2023 05:28:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dakota Logan <dklogan <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: Dakota Logan <dklogan <at> riseup.net>
Subject: [PATCH] gnu: Add chatgpt-shell.
Date: Thu, 27 Apr 2023 13:46:50 -0400
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#63138; Package guix-patches. (Wed, 03 May 2023 12:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 63138 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Dakota Logan <dklogan <at> riseup.net>
Cc: 63138 <at> debbugs.gnu.org
Subject: Re: [bug#63138] [PATCH] gnu: Add chatgpt-shell.
Date: Wed, 03 May 2023 14:50:29 +0200
Hello,

Dakota Logan <dklogan <at> riseup.net> writes:

> * gnu/packages/emacs-xyz.scm (emacs-chatgpt-shell, emacs-shell-maker):
> New variables.

Thank you. Some comments follow.

> +(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"))

These URI are not stable. You should use GitHub as upstream. Moreover,
MELPA versionning is fancy. According to source, version is "0.18.1"

> +              (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.")

Shell Maker is a library... on Emacs Comint mode...

> +    (license license:gpl3+)))
> +
> +(define-public emacs-chatgpt-shell

The repository provides two library, so one single package is necessary.
You'll need to expound the description, tho.

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 23 Feb 2025 10:03:02 GMT) Full text and rfc822 format available.

Notification sent to Dakota Logan <dklogan <at> riseup.net>:
bug acknowledged by developer. (Sun, 23 Feb 2025 10:03:03 GMT) Full text and rfc822 format available.

Message #13 received at 63138-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 63138-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add chatgpt-shell.
Date: Sun, 23 Feb 2025 11:02:00 +0100
Hello,

These patches have been applied a while ago. Closing.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Mar 2025 11:24:30 GMT) Full text and rfc822 format available.

This bug report was last modified 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.