unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: 44555@debbugs.gnu.org
Subject: [bug#44555] [PATCH] gnu: Add emacs-next-use-package
Date: Tue, 10 Nov 2020 19:15:51 +0300	[thread overview]
Message-ID: <CABrWRW2+8q+QSE1xPBOeG3=JZESzKKOwtK3FV3EThyo-KjShfQ@mail.gmail.com> (raw)
In-Reply-To: <CABrWRW2F8x4f8WD2d+N8w9i7hNJTRPH_k26ZnELb_W_WRMR_Uw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

The email client breaks indentation, will try to attach the patch to
this message.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: 0001-gnu-Add-emacs-next-use-package.patch --]
[-- Type: text/x-patch, Size: 1494 bytes --]

use-package version 2.4 doesn't work with emacs-next (28), but there is no
other new tags in upstream repository. The last one is 2.4 and it was created
in Nov 2018. Other GNU/Linux distros uses more recent, but untagged
revision. This commit does the same.

Additionaly it removes diminish from propagated-inputs because this dependency
is optional. The only required dependencies are emacs and bind-key.
---
 gnu/packages/emacs-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ff546506e9..3fe14a210a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11172,6 +11172,24 @@ configuration in your @file{.emacs} file in a way that is both
 performance-oriented and tidy.")
     (license license:gpl2+)))

+(define-public emacs-next-use-package
+  (let ((commit "4fb1f9a68f1e7e7d614652afc017a6652fd029f1")
+	(revision "20200721"))
+    (package/inherit emacs-use-package
+      (name "emacs-next-use-package")
+      (version (git-version "2.4" revision commit))
+      (source
+       (origin
+	 (method git-fetch)
+	 (uri (git-reference
+	       (url "https://github.com/jwiegley/use-package")
+	       (commit commit)))
+	 (file-name (git-file-name name version))
+	 (sha256
+          (base32
+           "073sm0mbxcjysap2bjzf1cl0134jy8a0xig7ywmmd0bm2y8qzfip"))))
+      (propagated-inputs '()))))
+
 (define-public emacs-leaf
   (package
     (name "emacs-leaf")
--
2.25.4

  reply	other threads:[~2020-11-10 18:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 15:45 [bug#44555] [PATCH] gnu: Add emacs-next-use-package Andrew Tropin
2020-11-10 16:15 ` Andrew Tropin [this message]
2020-11-10 17:16 ` zimoun
2020-11-10 17:56   ` Andrew Tropin
2020-11-10 19:22   ` Michael Rohleder
2020-11-10 19:36     ` Andrew Tropin
2020-11-10 20:32       ` Michael Rohleder
2020-11-11  7:53         ` Andrew Tropin
2020-11-11  9:35           ` Nicolas Goaziou
2020-11-11 10:02           ` bug#44555: " Nicolas Goaziou
2020-11-11 14:33             ` [bug#44555] " Andrew Tropin
2020-11-10 18:00 ` Leo Prikler
2020-11-11 22:42   ` zimoun

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='CABrWRW2+8q+QSE1xPBOeG3=JZESzKKOwtK3FV3EThyo-KjShfQ@mail.gmail.com' \
    --to=andrew@trop.in \
    --cc=44555@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).