guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andrew Tropin
Subject: [bug#44555] [PATCH] gnu: Add emacs-next-use-package
Date: Tue, 10 Nov 2020 18:45:51 +0300

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]