mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
6012040176
commit
cf87c55d8a
1 changed files with 9 additions and 4 deletions
|
@ -644,7 +644,7 @@ summarizing text using an LLM.")
|
||||||
(define-public emacs-chatgpt-shell
|
(define-public emacs-chatgpt-shell
|
||||||
(package
|
(package
|
||||||
(name "emacs-chatgpt-shell")
|
(name "emacs-chatgpt-shell")
|
||||||
(version "2.13.1")
|
(version "2.16.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -653,19 +653,24 @@ summarizing text using an LLM.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vlvwim1v14cvd4w3bd10xfzaw3mhsiv5qh4ka67jgninq8kjls5"))))
|
"1xq4hfr3m5sgi9wrr3nrp6fsnnw8d044gz0y50d4h46cvq8c6f2g"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; This phase prevents build phase failure.
|
;; This phase prevents build phase failure.
|
||||||
(add-before 'build 'generate-empty-config-file
|
(add-after 'unpack 'generate-empty-config-file
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
(mkdir-p ".emacs.d")
|
(mkdir-p ".emacs.d")
|
||||||
(call-with-output-file ".emacs.d/.chatgpt-shell.el"
|
(call-with-output-file ".emacs.d/.chatgpt-shell.el"
|
||||||
(lambda (port)
|
(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))
|
(propagated-inputs (list emacs-shell-maker))
|
||||||
(home-page "https://github.com/xenodium/chatgpt-shell")
|
(home-page "https://github.com/xenodium/chatgpt-shell")
|
||||||
(synopsis "ChatGPT and DALL-E Emacs shells and Org Babel libraries")
|
(synopsis "ChatGPT and DALL-E Emacs shells and Org Babel libraries")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue