From 10ca42404a59519bd5ddf3abefe7fc786c21aaec Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Wed, 23 Jul 2025 14:30:24 +0200 Subject: [PATCH] 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 --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 653bbc91569..f67687ef89b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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