summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2017-11-25 09:52:49 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2017-11-25 09:52:49 +0300
commit3453a5bb6396483508ab8849a33eeadfc46baf24 (patch)
treeab4378977a3c36bb88c880ab41c5ba75746e6f38
parentwigust: Remove python-pytz-2016-10 and python-gitsome. (diff)
downloadguix-wigust-3453a5bb6396483508ab8849a33eeadfc46baf24.tar.gz
wigust: Add emacs-guix-checkout.
* wigust/packages/emacs.scm (emacs-guix-checkout): New variable.
-rw-r--r--wigust/packages/emacs.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/wigust/packages/emacs.scm b/wigust/packages/emacs.scm
index 1b500e3..80c2223 100644
--- a/wigust/packages/emacs.scm
+++ b/wigust/packages/emacs.scm
@@ -2345,3 +2345,36 @@ within Emacs.")
(description "This package creates graphviz directed graphs from
Org files.")
(license license:gpl3+))))
+
+(define-public emacs-guix-checkout
+ (let ((commit "80980e064a9d5f0fa19ad2ac033d104d42021ce8")
+ (revision "1"))
+ (package
+ (inherit emacs-guix)
+ (version (string-append (package-version emacs-guix)
+ "-" revision "." (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alezost/guix.el.git")
+ (commit commit)))
+ (file-name (string-append (package-name emacs-guix)
+ "-" version "-checkout"))
+ (sha256
+ (base32
+ "18qnnl18x07399xq41fy9rpzqsvjgm2w4520q5labjl6ndc9y248"))))
+ (arguments
+ (append (package-arguments emacs-guix)
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autogen
+ (lambda _ (zero? (system* "sh" "autogen.sh"))))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ;; 'emacs-minimal' does not find Emacs packages (this is for
+ ;; "guix environment").
+ ("emacs" ,emacs-no-x)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("texinfo" ,texinfo))))))