gnu: emacs-org-roam: Update to 2.2.2-0.74422df.
Due to the bug in release version, backlinks doesn't work: https://github.com/org-roam/org-roam/issues/2235 Two weeks ago it was a request for a new tag, but still not added. https://github.com/org-roam/org-roam/issues/2306 * gnu/packages/emacs-xyz.scm (emacs-org-roam): Update to 2.2.2-0.74422df.
This commit is contained in:
parent
7cea27a8d5
commit
34175ddacf
1 changed files with 58 additions and 56 deletions
|
@ -33244,66 +33244,68 @@ go directly to where they belong.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-org-roam
|
(define-public emacs-org-roam
|
||||||
(package
|
(let ((commit "74422df546a515bc984c2f3d3a681c09d6f43916")
|
||||||
(name "emacs-org-roam")
|
(revision "0"))
|
||||||
(version "2.2.2")
|
(package
|
||||||
(source
|
(name "emacs-org-roam")
|
||||||
(origin
|
(version (git-version "2.2.2" revision commit))
|
||||||
(method git-fetch)
|
(source
|
||||||
(uri (git-reference
|
(origin
|
||||||
(url "https://github.com/org-roam/org-roam")
|
(method git-fetch)
|
||||||
(commit (string-append "v" version))))
|
(uri (git-reference
|
||||||
(file-name (git-file-name name version))
|
(url "https://github.com/org-roam/org-roam")
|
||||||
(sha256
|
(commit commit)))
|
||||||
(base32 "09wcqdqy2gcsyd1mbcm90b70y3qj921m4ky8l3avhzpdwgyw8wy5"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system emacs-build-system)
|
(sha256
|
||||||
(arguments
|
(base32 "0vhl69y6yk2zzfixjdwr8vxl2k921h0syshk5123r1nm9jp3i1s9"))))
|
||||||
(list
|
(build-system emacs-build-system)
|
||||||
#:phases
|
(arguments
|
||||||
#~(modify-phases %standard-phases
|
(list
|
||||||
;; Move the extensions source files to the top level, which
|
#:phases
|
||||||
;; is included in the EMACSLOADPATH.
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'move-source-files
|
;; Move the extensions source files to the top level, which
|
||||||
(lambda _
|
;; is included in the EMACSLOADPATH.
|
||||||
(let ((el-files (find-files "./extensions" ".*\\.el$")))
|
(add-after 'unpack 'move-source-files
|
||||||
(for-each (lambda (f)
|
(lambda _
|
||||||
(rename-file f (basename f)))
|
(let ((el-files (find-files "./extensions" ".*\\.el$")))
|
||||||
el-files))))
|
(for-each (lambda (f)
|
||||||
(add-after 'move-source-files 'patch-exec-paths
|
(rename-file f (basename f)))
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
el-files))))
|
||||||
(make-file-writable "org-roam-graph.el")
|
(add-after 'move-source-files 'patch-exec-paths
|
||||||
(emacs-substitute-variables "org-roam-graph.el"
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
("org-roam-graph-executable"
|
(make-file-writable "org-roam-graph.el")
|
||||||
(search-input-file inputs "/bin/dot")))))
|
(emacs-substitute-variables "org-roam-graph.el"
|
||||||
(add-after 'install 'install-image
|
("org-roam-graph-executable"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(search-input-file inputs "/bin/dot")))))
|
||||||
(install-file "doc/images/org-ref-citelink.png"
|
(add-after 'install 'install-image
|
||||||
(string-append #$output "/share/info/images"))))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(add-after 'install-image 'make-info
|
(install-file "doc/images/org-ref-citelink.png"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(string-append #$output "/share/info/images"))))
|
||||||
(with-directory-excursion "doc"
|
(add-after 'install-image 'make-info
|
||||||
(invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(install-file "org-roam.info"
|
(with-directory-excursion "doc"
|
||||||
(string-append #$output "/share/info"))))))))
|
(invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
|
||||||
(inputs
|
(install-file "org-roam.info"
|
||||||
(list graphviz))
|
(string-append #$output "/share/info"))))))))
|
||||||
(native-inputs
|
(inputs
|
||||||
(list texinfo))
|
(list graphviz))
|
||||||
(propagated-inputs
|
(native-inputs
|
||||||
(list emacs-dash
|
(list texinfo))
|
||||||
emacs-emacsql-sqlite3
|
(propagated-inputs
|
||||||
emacs-f
|
(list emacs-dash
|
||||||
emacs-magit
|
emacs-emacsql-sqlite3
|
||||||
emacs-org
|
emacs-f
|
||||||
emacs-s))
|
emacs-magit
|
||||||
(home-page "https://github.com/org-roam/org-roam/")
|
emacs-org
|
||||||
(synopsis "Non-hierarchical note-taking with Org mode")
|
emacs-s))
|
||||||
(description "Emacs Org Roam is a solution for taking non-hierarchical
|
(home-page "https://github.com/org-roam/org-roam/")
|
||||||
|
(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-roam-bibtex
|
(define-public emacs-org-roam-bibtex
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue