Add ‘emacs-oni-org’, ‘emacs-oni-org-roam’, ‘emacs-nroam’ packages

This commit is contained in:
Tom Willemse 2021-07-20 01:09:57 -07:00
parent 28ae399d87
commit 3b5b44b996
Signed by: ryuslash
GPG key ID: 7D5C407B435025C1
2 changed files with 74 additions and 0 deletions

View file

@ -250,3 +250,44 @@ Emacs")))
("bats" ,bats))) ("bats" ,bats)))
(synopsis "My Emacs Bats coding configuration") (synopsis "My Emacs Bats coding configuration")
(description "This package provides my configuration for coding in Bats"))) (description "This package provides my configuration for coding in Bats")))
(define-public emacs-oni-org
(package
(inherit emacs-oni-config)
(name "emacs-oni-org")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-oni-org
(lambda _
(chdir "oni-org"))))
#:include '("\\.el$"
"^snippets\\/org-mode\\/"
"^capture-templates\\/"
"^icons\\/")))
(propagated-inputs
`(("emacs-oni-yasnippet" ,emacs-oni-yasnippet)
("emacs-oni-alert" ,emacs-oni-alert)
("emacs-oni-hydra" ,emacs-oni-hydra)
("emacs-org" ,emacs-org)
("emacs-org-contrib" ,emacs-org-contrib)
("emacs-org-bullets" ,emacs-org-bullets)
("emacs-org-edna" ,emacs-org-edna)
("emacs-diminish" ,emacs-diminish)
("emacs-all-the-icons" ,emacs-all-the-icons)
("emacs-olivetti" ,emacs-olivetti)))
(synopsis "My Emacs Org configuration")
(description "This package provides my configuration for org")))
(define-public emacs-oni-org-roam
(package
(inherit emacs-oni-config)
(name "emacs-oni-org-roam")
(arguments
'(#:include '("oni-org-roam.el")))
(propagated-inputs
`(("emacs-oni-org" ,emacs-oni-org)
("emacs-org-roam" ,emacs-org-roam)
("emacs-nroam" ,emacs-nroam)))
(synopsis "My Emacs Org Roam configuration")
(description "This package provides my configuration for Org Roam")))

View file

@ -1,6 +1,7 @@
(define-module (oni packages emacs) (define-module (oni packages emacs)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
@ -171,3 +172,35 @@ keywords.")
(synopsis "Cask support for Flycheck") (synopsis "Cask support for Flycheck")
(description "Make Flycheck use Cask packages in Cask projects.") (description "Make Flycheck use Cask packages in Cask projects.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-nroam
(package
(name "emacs-nroam")
(version "20210325.2015")
(source
(origin
(method url-fetch)
(uri (string-append
"https://melpa.org/packages/nroam-"
version
".tar"))
(sha256
(base32
"1aybc2k8kyf2dlpbq39p3k1nsvzrhw58xarbwwq0qgz91r49m4xq"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-org-roam" ,emacs-org-roam)
("emacs-org" ,emacs-org)))
(home-page
"https://github.com/NicolasPetton/nroam")
(synopsis
"Org-roam backlinks within org-mode buffers")
(description
"nroam is a supplementary package for org-roam that replaces the backlink side
buffer of Org-roam. Instead, it displays org-roam backlinks at the end of
org-roam buffers.
To setup nroam for all org-roam buffers, evaluate the following:
(add-hook 'org-mode-hook #'nroam-setup-maybe)
")
(license license:gpl3+)))