diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-03-17 22:30:50 +0100 |
|---|---|---|
| committer | Ian Eure <ian@retrospec.tv> | 2025-03-22 08:36:11 -0700 |
| commit | cf87c55d8a1d67621277ead305e8e77c2ddb64c5 (patch) | |
| tree | fd304ef202cf7b5c3f325452c05788462db364d1 /gnu | |
| parent | 60120401767afe58446fdb4d1508b7aa15aab00f (diff) | |
gnu: emacs-chatgpt-shell: Update to 2.16.1.
* gnu/packages/emacs-xyz.scm (emacs-chatgpt-shell): Update to 2.16.1.
Change-Id: Ie27454e83b8b93c85485c099c490fcab7b320aa6
Signed-off-by: Ian Eure <ian@retrospec.tv>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 52234de857e..7f50f9c8bbb 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -644,7 +644,7 @@ summarizing text using an LLM.") (define-public emacs-chatgpt-shell (package (name "emacs-chatgpt-shell") - (version "2.13.1") + (version "2.16.1") (source (origin (method git-fetch) (uri (git-reference @@ -653,19 +653,24 @@ summarizing text using an LLM.") (file-name (git-file-name name version)) (sha256 (base32 - "1vlvwim1v14cvd4w3bd10xfzaw3mhsiv5qh4ka67jgninq8kjls5")))) + "1xq4hfr3m5sgi9wrr3nrp6fsnnw8d044gz0y50d4h46cvq8c6f2g")))) (build-system emacs-build-system) (arguments (list #:phases #~(modify-phases %standard-phases ;; This phase prevents build phase failure. - (add-before 'build 'generate-empty-config-file + (add-after 'unpack 'generate-empty-config-file (lambda _ (setenv "HOME" (getcwd)) (mkdir-p ".emacs.d") (call-with-output-file ".emacs.d/.chatgpt-shell.el" (lambda (port) - (display "nil" port)))))))) + (display "nil" port)))))) + #:tests? #t + #:test-command #~(list "emacs" "-Q" "--batch" + "-l" "test_chatgpt-shell.el" + "-l" "chatgpt-shell.el" + "-f" "ert-run-tests-batch-and-exit"))) (propagated-inputs (list emacs-shell-maker)) (home-page "https://github.com/xenodium/chatgpt-shell") (synopsis "ChatGPT and DALL-E Emacs shells and Org Babel libraries") |
