[bug#77284,v2] gnu: emacs-org-node: Update to 2.4.1.

Message ID 8f9a58aba2280cf7f72d99d351e06f8e3be3edf9.1743496412.git.csantosb@inventati.org
State New
Headers
Series [bug#77284,v2] gnu: emacs-org-node: Update to 2.4.1. |

Commit Message

Cayetano Santos April 1, 2025, 8:33 a.m. UTC
  * gnu/packages/emacs-xyz.scm (emacs-org-node): Update to 2.4.1.

Change-Id: I8412633c31fd7c5ce2159323d4720dd64e590ffd
---
 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)


base-commit: bcd207005c4ae1b0ae11ebe932047218ffe6ee83
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b5dc07acbb..a00c641f58 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -40104,26 +40104,39 @@  (define-public emacs-org-roam
 (define-public emacs-org-node
   (package
     (name "emacs-org-node")
-    (version "2.1.2")
+    (version "2.4.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/meedstrom/org-node.git")
+                    (url "https://github.com/meedstrom/org-node/")
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "05f5ga66q2vyv48z95lky0hzbs2zq5bvppkx7bbyv252jzxbibw3"))))
+                "0yvc61ydz8c8wms5pwb14v67da7w4l3xvd5w4x83qf81d9f44w9v"))))
     (build-system emacs-build-system)
+    (arguments
+     '(#:tests? #f ; fails
+       #:test-command '("./makem.sh" "tests")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'dont-git
+           (lambda _
+             (substitute* "makem.sh"
+               (("^cd.*\"")
+                "")))))))
     (propagated-inputs
-     (list emacs-dash
-           emacs-el-job
+     (list emacs-el-job
            emacs-llama
-           emacs-magit
-           emacs-org
-           emacs-persist
-           emacs-transient))
-    (home-page "https://github.com/meedstrom/org-node")
+           emacs-magit))
+    ;; tests
+    (native-inputs
+     (list emacs-buttercup
+           emacs-dash
+           util-linux
+           grep
+           sed))
+    (home-page "https://github.com/meedstrom/org-node/")
     (synopsis "Non-hierarchical note-taking with Org-mode, faster than
 org-roam")
     (description "This package provides a notetaking system like Roam,