all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: 26420@debbugs.gnu.org
Subject: bug#26420: [PATCH 2/2] gnu: Add emacs-use-package.
Date: Sun,  9 Apr 2017 22:27:03 +0530	[thread overview]
Message-ID: <8c88a4c1.ADsAAHIoMD8AAAAAAAAAAAOzcd8AAAACwQwAAAAAAAW9WABY6mf5@mailjet.com> (raw)
In-Reply-To: <20170409165703.9034-1-arunisaac@systemreboot.net>

* gnu/packages/emacs.scm (emacs-use-package): New variable.
---
 gnu/packages/emacs.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e3fe5e51e..4a77723b3 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4102,3 +4102,37 @@ actually changing the buffer's text.")
     (description "@code{emacs-diminish} implements hiding or
 abbreviation of the mode line displays (lighters) of minor modes.")
     (license license:gpl2+)))
+
+(define-public emacs-use-package
+  (package
+    (name "emacs-use-package")
+    (version "2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/jwiegley/use-package/archive/"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-diminish" ,emacs-diminish)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; tests fail in this release
+         (add-before 'install 'check
+           (lambda _
+             (zero? (system* "emacs" "--batch" "-L" "."
+                             "-l" "use-package-tests.el"
+                             "-f" "ert-run-tests-batch-and-exit"))
+             #t)))))
+    (home-page "https://github.com/jwiegley/use-package")
+    (synopsis "Declaration for simplifying your .emacs")
+    (description "The use-package macro allows you to isolate package
+configuration in your .emacs file in a way that is both
+performance-oriented and tidy.")
+    (license license:gpl2+)))
-- 
2.12.2


       reply	other threads:[~2017-04-09 16:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170409165703.9034-1-arunisaac@systemreboot.net>
2017-04-09 16:57 ` Arun Isaac [this message]
2017-04-10  9:10   ` bug#26420: [PATCH 2/2] gnu: Add emacs-use-package Ludovic Courtès
2017-04-10  9:31     ` Arun Isaac
     [not found]     ` <5cb979bd.AEQAJFaVgOkAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABY61Dr@mailjet.com>
2017-04-10 12:43       ` Ludovic Courtès
2017-04-10 19:41         ` Arun Isaac
2017-04-10 19:43           ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c88a4c1.ADsAAHIoMD8AAAAAAAAAAAOzcd8AAAACwQwAAAAAAAW9WABY6mf5@mailjet.com \
    --to=arunisaac@systemreboot.net \
    --cc=26420@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.