~ruther/guix-local

10ca42404a59519bd5ddf3abefe7fc786c21aaec — Cayetano Santos 11 months ago a5b0209
gnu: emacs-ellama: Improve style.

* gnu/packages/emacs-xyz.scm (emacs-ellama): Fix maximum column.
[propagated-inputs]: Remove emacs-transient.

Change-Id: I9a205bd2cfe1f7b0393b15acbda8402b6f37a48d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 16 insertions(+), 12 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +16 -12
@@ 6111,29 6111,33 @@ that the binary uses instead of the actual binary contents.")
  (package
    (name "emacs-ellama")
    (version "1.8.1")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/s-kostyaev/ellama")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256 (base32
                       "1019vwrm95ck2gi29mvwd7sy753zgwa3addw2x0qbhvb3r53620v"))))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/s-kostyaev/ellama")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1019vwrm95ck2gi29mvwd7sy753zgwa3addw2x0qbhvb3r53620v"))))
    (build-system emacs-build-system)
    (arguments
     (list
       #:phases
       #~(modify-phases %standard-phases
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'disable-failing-tests
            (lambda _
              (substitute* (find-files "tests/" "\\.el$")
                (("\\(ert-deftest test-ellama-context-element-extract-info-node .*" all)
                (((string-append
                   "\\(ert-deftest "
                   "test-ellama-context-element-extract-info-node .*") all)
                 (string-append all "(skip-unless nil)\n"))))))
      #:test-command #~(list "emacs" "-Q" "--batch"
                             "-l" "ellama.el"
                             "-l" "tests/test-ellama.el"
                             "-f" "ert-run-tests-batch-and-exit")))
    (propagated-inputs (list emacs-compat emacs-llm emacs-plz emacs-transient))
    (propagated-inputs (list emacs-compat emacs-llm emacs-plz))
    (home-page "https://github.com/s-kostyaev/ellama")
    (synopsis "Tool for interacting with LLMs")
    (description