Subject: [PATCH] gnu: emacs-straight-el: Update to 0-4.44a866f.

From: Cayetano Santos <[email-masked]>
Date: Sun, 2 Mar 2025 11:38:11 +0100

* gnu/packages/emacs-xyz.scm (emacs-straight-el): Update to 0-4.44a866f.

Change-Id: I7980b2966cbc339c21c5cc06411a8bf3c935dde0
---

Current package dates back from 1 year ago

- updated to latest
- apply style
- replace testing by provided makefile
- remove texinfo input (what is that for ?)

 gnu/packages/emacs-xyz.scm | 31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2994780504..b041c8c7a3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -41952,31 +41952,25 @@ (define-public emacs-pyimport
       (license license:gpl3+)))) ; License is in pyimport.el
 
 (define-public emacs-straight-el
-  (let ((commit "b3760f5829dba37e855add7323304561eb57a3d4")
-        (revision "3"))
+  (let ((commit "44a866f28f3ded6bcd8bc79ddc73b8b5044de835")
+        (revision "4"))
     (package
       (name "emacs-straight-el")
       (version (git-version "0" revision commit))
       (source
        (origin
          (method git-fetch)
-         (uri
-          (git-reference
-           (url "https://github.com/radian-software/straight.el")
-           (commit commit)))
+         (uri (git-reference
+               (url "https://github.com/radian-software/straight.el/")
+               (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "10kvm2gzn7yf2wkfprq7cm6m2la83rdi394rcrsxql3yyhd0v599"))))
+          (base32 "086ly0szbf1lxkdi76jzjd6znz9shrmdbw7a9mr977s27219l8mf"))))
       (build-system emacs-build-system)
       (arguments
        (list
         #:tests? #t
-        #:test-command
-        #~(list "emacs" "-Q" "--batch"
-                "-L" "."
-                "--load" "ert"
-                "--load" "tests/straight-test.el"
-                "--eval" "(progn (require 'straight-ert-print-hack) (ert-run-tests-batch-and-exit))")
+        #:test-command '(list "make" "tests")
         #:phases
         #~(modify-phases %standard-phases
             (add-after 'unpack 'patch-git-executable
@@ -41985,14 +41979,9 @@ (define-public emacs-straight-el
                 (substitute* "straight.el"
                   (("\"git\"")
                    (string-append "\""
-                                  (search-input-file inputs "/bin/git")
-                                  "\""))))))))
-      (native-inputs
-       (list texinfo))
-      (inputs
-       (list git))
-      (propagated-inputs
-       (list emacs-magit))
+                                  (search-input-file inputs "/bin/git") "\""))))))))
+      (inputs (list git))
+      (propagated-inputs (list emacs-magit))
       (home-page "https://github.com/radian-software/straight.el/")
       (synopsis "Purely functional package manager for the Emacs hacker")
       (description

base-commit: 6ae0319ca7c45f70f587219b561020ba38d0babf
--
2.48.1