diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-11-20 10:12:51 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-11-20 10:13:25 +0100 |
commit | c8eb362477e17686d148dd71b530589215b81683 (patch) | |
tree | c3321764e2e55add65b77027018909194a508417 /gnu | |
parent | 23dc8e46a0c35bcc1888731e09619d8c942d2d0c (diff) | |
download | guix-c8eb362477e17686d148dd71b530589215b81683.tar.gz |
gnu: Add emacs-inf-janet.
* gnu/packages/emacs-xyz.scm (emacs-inf-janet): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1b97066b2f..0d9e7d339c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25498,3 +25498,36 @@ syntax highlighting and UI components.") (description "This package provides an Emacs major mode for editing Janet files.") (license license:gpl3)))) + +(define-public emacs-inf-janet + (let ((commit "df46651d3aad32593b2195c80ca91fb64d571fb7")) + (package + (name "emacs-inf-janet") + (version (git-version "0.1.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/velkyel/inf-janet") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0g0y7q62667j0p32md1h6zb2cap9fga9qgdg7138xwjqnk0328v7")))) + (build-system emacs-build-system) + (propagated-inputs + `(("janet-mode" ,emacs-janet-mode))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-program-name + (lambda _ + (make-file-writable "inf-janet.el") + (emacs-substitute-variables "inf-janet.el" + ("inf-janet-program" "janet")) + #t))))) + (home-page "https://github.com/velkyel/inf-janet") + (synopsis "Run an external Janet process in an Emacs buffer") + (description + "This Emacs package provides a Janet REPL to evaluate @code{janet-mode} +s-expression.") + (license license:expat)))) |