GNU bug report logs -
#62519
[PATCH] gnu: Add emacs-gptel.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62519 in the body.
You can then email your comments to 62519 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#62519
; Package
guix-patches
.
(Wed, 29 Mar 2023 12:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 29 Mar 2023 12:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-gptel): New variable.
---
gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index da2856abc8..d5db2ea499 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -418,6 +418,44 @@ (define-public emacs-geiser
e.g. emacs-geiser-guile for Guile.")
(license license:bsd-3)))
+(define-public emacs-gptel
+ (let ((commit "1c07a94e18a914ae69ea0061f81fda4bba29afd5")
+ (revision "0"))
+ (package
+ (name "emacs-gptel")
+ (version (git-version "0.2.5" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/karthink/gptel")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "190nrxf6nqmfrsza3vyc51f02hw10wzydi45phkswydjkgsllkmp"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'substitute-gptel-use-curl
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "gptel.el"
+ ("gptel-use-curl" (search-input-file
+ inputs
+ "/bin/curl"))))))))
+ (inputs (list curl))
+ (propagated-inputs (list emacs-map))
+ (home-page "https://github.com/karthink/gptel")
+ (synopsis "GPTel is a simple ChatGPT client for Emacs")
+ (description
+ "GPTel is a simple, no-frills ChatGPT asynchronous client for Emacs
+with no external dependencies. It can interact with ChatGPT from any Emacs
+buffer with ChatGPT responses encoded in Markdown or Org markup. It supports
+conversations, not just one-off queries and multiple independent sessions.
+Requires an OpenAI API key.")
+ (license license:gpl3+))))
+
(define-public emacs-geiser-guile
(package
(name "emacs-geiser-guile")
--
2.39.2
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sat, 08 Apr 2023 12:09:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 08 Apr 2023 12:09:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 62519-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Rostislav Svoboda <rostislav.svoboda <at> gmail.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-gptel): New variable.
I updated the package to 0.3.0, fixed Curl setting, and applied your
patch. Thank you.
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 May 2023 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.