diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-03-23 23:50:09 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-03-23 23:50:54 +0300 |
| commit | bec0e9cb762c8a307e8636c7873439eceab90f1f (patch) | |
| tree | f27bd357447fa3201118be8c3f358a16ff603598 | |
| parent | local: Add emacs-redshift. (diff) | |
| download | guix-local-bec0e9cb762c8a307e8636c7873439eceab90f1f.tar.gz | |
local: Add emacs-guix-local-checkout.
* local/packages/emacs.scm (emacs-guix-local-checkout): New public
variable.
| -rw-r--r-- | local/packages/emacs.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/local/packages/emacs.scm b/local/packages/emacs.scm index 483262d..7ceb072 100644 --- a/local/packages/emacs.scm +++ b/local/packages/emacs.scm @@ -5,7 +5,10 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages emacs) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages texinfo) #:use-module (gnu packages xdisorg) #:use-module (guix build-system emacs) #:use-module ((guix licenses) #:prefix license:)) @@ -67,3 +70,35 @@ capturing user input and paste it with @kbd{C-v} after exit.") (description "This package provides an Emacs interface to Redshift") (license license:gpl3+)))) + +(define-public emacs-guix-local-checkout + (let ((commit "463ecbbe740f4be031f6860b7782afb1f25184f8") + (revision "1")) + (package + (inherit emacs-guix) + (name "emacs-guix-checkout") + (version (git-version (package-version emacs-guix) "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.magnolia.local/emacs-guix") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xcbcbdbnb0z7kdamw3k4b5jndfwryh883l405gd41acyx47r0w2")))) + (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)))))) |
