me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/emacs-xyz.scm (emacs-org-roam): Update to 1.2.4.
[native-inputs]: Add texinfo.
[arguments]: Install image and Texinfo documentation.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
Xinglu Chen 2021-04-29 20:15:14 +02:00 committed by Nicolas Goaziou
parent 1d5560494b
commit 3f90245d91
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 40 additions and 26 deletions

View File

@ -26912,36 +26912,50 @@ snippets for Emacs.")
(license license:expat)))) (license license:expat))))
(define-public emacs-org-roam (define-public emacs-org-roam
(let ((commit "8ad57b121831eda8d226faa14ff2ba7ab652849c") (package
(revision "0") (name "emacs-org-roam")
(version "1.2.3")) (version "1.2.4")
(package (source
(name "emacs-org-roam") (origin
(version (git-version version 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 "10jrnjq65lpg1x8d7lqc537yai9m6pdnfbzwr87fcyv6f8yii8xn"))))
(file-name (git-file-name name version)) (build-system emacs-build-system)
(sha256 (arguments
(base32 "162qhb6rkpl1n0l8yhnwgagsx56ykaj9lchsny1id5z1257kgw9w")))) `(#:phases
(build-system emacs-build-system) (modify-phases %standard-phases
(propagated-inputs (add-after 'install 'install-image
`(("emacs-dash" ,emacs-dash) (lambda* (#:key outputs #:allow-other-keys)
("emacs-emacsql-sqlite3" ,emacs-emacsql-sqlite3) (let ((out (assoc-ref outputs "out")))
("emacs-f" ,emacs-f) (install-file "doc/images/org-ref-citelink.png"
("emacs-org" ,emacs-org) (string-append out "/share/info/images")))))
("emacs-s" ,emacs-s))) (add-after 'install-image 'make-info
(home-page "https://github.com/org-roam/org-roam/") (lambda* (#:key outputs #:allow-other-keys)
(synopsis "Non-hierarchical note-taking with Org mode") (let ((out (assoc-ref outputs "out")))
(description "Emacs Org Roam is a solution for taking non-hierarchical (with-directory-excursion "doc"
(invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
(install-file "org-roam.info"
(string-append out "/share/info")))))))))
(native-inputs
`(("texinfo" ,texinfo)))
(propagated-inputs
`(("emacs-dash" ,emacs-dash)
("emacs-emacsql-sqlite3" ,emacs-emacsql-sqlite3)
("emacs-f" ,emacs-f)
("emacs-org" ,emacs-org)
("emacs-s" ,emacs-s)))
(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