gnu: emacs-org-roam: Update to 2.3.0.

* gnu/packages/emacs-xyz.scm (emacs-org-roam): Update to 2.3.0.

Change-Id: I315c5845da5bf1308f51154a4d486fa1580089cb
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Kjartan Oli Agustsson 2025-06-03 00:49:35 +00:00 committed by Hilton Chain
parent e961e2cae9
commit c8fa4c8e01
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -40687,63 +40687,61 @@ go directly to where they belong.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-org-roam (define-public emacs-org-roam
(let ((commit "046822b512ffecdee7d110f73dd3a511802ca590") (package
(revision "2")) (name "emacs-org-roam")
(package (version "2.3.0")
(name "emacs-org-roam") (source
(version (git-version "2.2.2" revision commit)) (origin
(source (method git-fetch)
(origin (uri (git-reference
(method git-fetch) (url "https://github.com/org-roam/org-roam")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/org-roam/org-roam") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32 "00ijpvsghak5d9p703gnyaksfbniwj062qids0m8xkvvxbzqsdda"))))
(sha256 (build-system emacs-build-system)
(base32 "0jbj48glh0r6fkb0lk1xb9067x2myp3krkw2byycijwdq1nlqzv2")))) (arguments
(build-system emacs-build-system) (list
(arguments #:phases
(list #~(modify-phases %standard-phases
#:phases ;; Move the extensions source files to the top level, which
#~(modify-phases %standard-phases ;; is included in the EMACSLOADPATH.
;; Move the extensions source files to the top level, which (add-after 'unpack 'move-source-files
;; is included in the EMACSLOADPATH. (lambda _
(add-after 'unpack 'move-source-files (let ((el-files (find-files "./extensions" ".*\\.el$")))
(lambda _ (for-each (lambda (f)
(let ((el-files (find-files "./extensions" ".*\\.el$"))) (rename-file f (basename f)))
(for-each (lambda (f) el-files))))
(rename-file f (basename f))) (add-after 'move-source-files 'patch-exec-paths
el-files)))) (lambda* (#:key inputs #:allow-other-keys)
(add-after 'move-source-files 'patch-exec-paths (make-file-writable "org-roam-graph.el")
(lambda* (#:key inputs #:allow-other-keys) (emacs-substitute-variables "org-roam-graph.el"
(make-file-writable "org-roam-graph.el") ("org-roam-graph-executable"
(emacs-substitute-variables "org-roam-graph.el" (search-input-file inputs "/bin/dot")))))
("org-roam-graph-executable" (add-after 'install 'install-image
(search-input-file inputs "/bin/dot"))))) (lambda _
(add-after 'install 'install-image (install-file "doc/images/org-ref-citelink.png"
(lambda* (#:key outputs #:allow-other-keys) (string-append #$output "/share/info/images"))))
(install-file "doc/images/org-ref-citelink.png" (add-after 'unpack 'make-info
(string-append #$output "/share/info/images")))) (lambda _
(add-after 'unpack 'make-info (invoke "make" "-C" "doc" "info")
(lambda _ (copy-file "doc/org-roam.info" "org-roam.info"))))))
(invoke "make" "-C" "doc" "info") (inputs
(copy-file "doc/org-roam.info" "org-roam.info")))))) (list graphviz))
(inputs (native-inputs
(list graphviz)) (list texinfo))
(native-inputs (propagated-inputs
(list texinfo)) (list emacs-dash
(propagated-inputs emacs-emacsql
(list emacs-dash emacs-magit))
emacs-emacsql (home-page "https://github.com/org-roam/org-roam/")
emacs-magit)) (synopsis "Non-hierarchical note-taking with Org mode")
(home-page "https://github.com/org-roam/org-roam/") (description "Emacs Org Roam is a solution for taking non-hierarchical
(synopsis "Non-hierarchical note-taking with Org mode")
(description "Emacs Org Roam is a solution for taking non-hierarchical
notes with Org mode. Notes are captured without hierarchy and are connected notes with Org mode. Notes are captured without hierarchy and are connected
by tags. Notes can be found and created quickly. Org Roam should also work by tags. Notes can be found and created quickly. Org Roam should also work
as a plug-and-play solution for anyone already using Org mode for their as a plug-and-play solution for anyone already using Org mode for their
personal wiki.") personal wiki.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-org-node (define-public emacs-org-node
(package (package