From 574d052e938ceb924f0a96ac116f547b4106d9c1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2023 23:50:06 -0700 Subject: [PATCH] Add emacs-oni-elisp package --- oni/packages/emacs-config.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/oni/packages/emacs-config.scm b/oni/packages/emacs-config.scm index 2d1a500..6807bca 100644 --- a/oni/packages/emacs-config.scm +++ b/oni/packages/emacs-config.scm @@ -491,3 +491,28 @@ Emacs"))) `(("emacs-diff-hl" ,emacs-diff-hl))) (synopsis "My Emacs Diff Highlight configuration") (description "This package provides my configuration for Diff Highlight."))) + +(define-public emacs-oni-elisp + (package + (inherit emacs-oni-config) + (name "emacs-oni-elisp") + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-oni-elisp + (lambda _ (chdir "oni-elisp")))) + #:include '("\\.el$" "^snippets\\/"))) + (propagated-inputs + `(("emacs-oni-company" ,emacs-oni-company) + ("emacs-oni-flycheck" ,emacs-oni-flycheck) + ("emacs-oni-paredit" ,emacs-oni-paredit) + ("emacs-oni-yasnippet" ,emacs-oni-yasnippet) + ("emacs-oni-hydra" ,emacs-oni-hydra) + ("emacs-rainbow-delimiters" ,emacs-rainbow-delimiters) + ("emacs-nameless" ,emacs-nameless) + ("emacs-erefactor" ,emacs-erefactor) + ("emacs-flycheck-relint" ,emacs-flycheck-relint) + ("emacs-handle" ,emacs-handle) + ("emacs-elisp-format" ,emacs-elisp-format))) + (synopsis "My Emacs Lisp configuration") + (description "This package provides my configuration for Emacs Lisp.")))