Subject: bug#44555: closed (Re: [bug#44555] [PATCH] gnu: Add emacs-next-use-package)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 11 Nov 2020 10:03:03 +0000

Your bug report

#44555: [PATCH] gnu: Add emacs-next-use-package

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44555: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44555
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44555] [PATCH] gnu: Add emacs-next-use-package
From: Nicolas Goaziou <[email-masked]>
To: Andrew Tropin <[email-masked]>
Cc: [email-masked], Michael Rohleder <[email-masked]>
Date: Wed, 11 Nov 2020 11:02:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Andrew Tropin <[email-masked]> writes:

> Cool news: John Wiegley made a new release a few hours ago, my patch is no
> longer relevant, will make another one, which just bumps the version to
> 2.4.1.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-next-use-package
From: Andrew Tropin <[email-masked]>
To: [email-masked]
Date: Tue, 10 Nov 2020 18:45:51 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Additionally, 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

-- 
Best regards,
Andrew Tropin