aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-19 20:59:59 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-06 11:15:31 +0200
commitcc1d1fc8b74fcca45947d67eea9636b1f75a1ec7 (patch)
treec290a32c2f33407a89cfcf67f84ddfe41bce2c5c
parentd2ca86f308846bea8cfc88bfe4395deb3be457aa (diff)
downloadguix-cc1d1fc8b74fcca45947d67eea9636b1f75a1ec7.tar
guix-cc1d1fc8b74fcca45947d67eea9636b1f75a1ec7.tar.gz
gnu: Add emacs-sudo-edit.
* gnu/packages/emacs-xyz.scm (emacs-sudo-edit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 087294dad3..6960a47e6e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2848,6 +2848,31 @@ respective @code{*Help*} buffers.")
completion of relevant keywords.")
(license license:expat)))
+(define-public emacs-sudo-edit
+ (let ((commit "cc3d478937b1accd38742bfceba92af02ee9357d")
+ (version "0.1.0")
+ (revision "6"))
+ (package
+ (name "emacs-sudo-edit")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nflath/sudo-edit")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qv58x5j5a3v1s2ylhck1ykbfclq0mbi0gsvaql3nyv8cxazqlwl"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/nflath/sudo-edit/")
+ (synopsis "Open files as another user")
+ (description
+ "This package allows editing files as another user, including the root
+user.")
+ (license license:gpl3+))))
+
(define-public emacs-ob-ipython
(package
(name "emacs-ob-ipython")