aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-01-13 16:57:41 -0800
committerGravatar Tom Willemse2026-01-13 16:57:41 -0800
commit48809aec0455df837ab6cbab8aaff7da256c8939 (patch)
tree7b1d1766a0e3a5e196e7a34fc97dcedd580e907e
parent6feb159ca243bfc6893cd2f46484a6d0bb0d44da (diff)
downloadnew-dotfiles-48809aec0455df837ab6cbab8aaff7da256c8939.tar.gz
new-dotfiles-48809aec0455df837ab6cbab8aaff7da256c8939.zip
Add emacs-phel-mode
-rw-r--r--oni/home/config/rincewind.scm4
-rw-r--r--oni/packages/emacs.scm33
2 files changed, 36 insertions, 1 deletions
diff --git a/oni/home/config/rincewind.scm b/oni/home/config/rincewind.scm
index c002b87..57289eb 100644
--- a/oni/home/config/rincewind.scm
+++ b/oni/home/config/rincewind.scm
@@ -333,7 +333,9 @@
tym
emacs-indexed
- emacs-gnuplot)))
+ emacs-gnuplot
+
+ emacs-phel-mode)))
(services
(append
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index c1f3cf4..45f4a3c 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -953,3 +953,36 @@ overlays. It offers customization options for icons, colors, and display
behavior. Flycheck is optional - if not available, only Flymake support will be
enabled.")
(license license:expat)))
+
+(define-public emacs-phel-mode
+ (let ((commit "34a1cdb5c0d8c6b1fbb71225b76b4c4823ca78d8")
+ (revision "0"))
+ (package
+ (name "emacs-phel-mode")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://codeberg.org/mmontone/interactive-lang-tools.git")
+ (commit commit)))
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02kfdg79vdhyhd1rpcwynyxa01glj818wmly4qrd5ya4bl1mr7qd"))))
+ (propagated-inputs
+ (list emacs-clojure-mode))
+ (arguments
+ (list #:include
+ #~(list "^phel-mode.el")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'move-source-files
+ (lambda _
+ (rename-file "backends/phel/phel-mode.el" "phel-mode.el"))))))
+ (build-system emacs-build-system)
+ (home-page "https://codeberg.org/mmontone/interactive-lang-tools/")
+ (synopsis "Major mode for editing Phel language source files")
+ (description "Major mode for editing Phel language source files.")
+ (license license:gpl3+))))
+
+emacs-phel-mode