unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44555] [PATCH] gnu: Add emacs-next-use-package
@ 2020-11-10 15:45 Andrew Tropin
  2020-11-10 16:15 ` Andrew Tropin
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Andrew Tropin @ 2020-11-10 15:45 UTC (permalink / raw)
  To: 44555

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




^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-11-11 22:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:45 [bug#44555] [PATCH] gnu: Add emacs-next-use-package Andrew Tropin
2020-11-10 16:15 ` Andrew Tropin
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

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).