diff options
author | Alex Kost <alezost@gmail.com> | 2016-12-15 00:25:52 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-12-17 10:56:39 +0300 |
commit | 64e43c674ec803dd75717908a8eba457fe7be2f4 (patch) | |
tree | b119166800508e8063355a2dfd70849e3dbf46ec /gnu | |
parent | 753baf775f728da1ad06207fdb033b49fbd1dbc0 (diff) | |
download | guix-64e43c674ec803dd75717908a8eba457fe7be2f4.tar.gz |
gnu: Add emacs-guix.
* gnu/packages/emacs.scm (emacs-guix): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index d95c683a7e..eea20d0a50 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1269,6 +1269,59 @@ and stored in memory.") type, for example: packages, buffers, files, etc.") (license license:gpl3+))) +(define-public emacs-guix + (package + (name "emacs-guix") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/alezost/guix.el" + "/releases/download/v" version + "/emacs-guix-" version ".tar.gz")) + (sha256 + (base32 + "0h168597am5vcix149l27g876v4f5yqwx8v0s9mmsdva1qqcq5s5")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (let ((guix (assoc-ref %build-inputs "guix")) + (geiser (assoc-ref %build-inputs "geiser")) + (dash (assoc-ref %build-inputs "dash")) + (bui (assoc-ref %build-inputs "bui")) + (magit-popup (assoc-ref %build-inputs "magit-popup")) + (site-lisp "/share/emacs/site-lisp")) + (list (string-append "--with-guix-site-dir=" + guix "/share/guile/site/2.0") + (string-append "--with-geiser-lispdir=" geiser site-lisp) + (string-append "--with-dash-lispdir=" + dash site-lisp "/guix.d/dash-" + ,(package-version emacs-dash)) + (string-append "--with-bui-lispdir=" + bui site-lisp "/guix.d/bui-" + ,(package-version emacs-bui)) + (string-append "--with-popup-lispdir=" + magit-popup site-lisp "/guix.d/magit-popup-" + ,(package-version emacs-magit-popup)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("emacs" ,emacs-minimal))) + (inputs + `(("guile" ,guile-2.0) + ("guix" ,guix))) + (propagated-inputs + `(("geiser" ,geiser) + ("dash" ,emacs-dash) + ("bui" ,emacs-bui) + ("magit-popup" ,emacs-magit-popup))) + (home-page "https://github.com/alezost/guix.el") + (synopsis "Emacs interface for GNU Guix") + (description + "Emacs-Guix provides a visual interface, tools and features for the +GNU Guix package manager. Particularly, it allows you to do various +package management tasks from Emacs. To begin with, run @code{M-x +guix-help} command.") + (license license:gpl3+))) + (define-public emacs-d-mode (package (name "emacs-d-mode") |