guix-commits
[Top][All Lists]
Advanced

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

155/203: gnu: emacs-dedicated: Don't use unstable tarball.


From: guix-commits
Subject: 155/203: gnu: emacs-dedicated: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:39 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6e215be72f28b87960cef99e29d4c7a396fb2e38
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:35:09 2019 +0200

    gnu: emacs-dedicated: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-dedicated)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 718603e..755207f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9140,16 +9140,15 @@ in @code{emacs-lisp-mode}, together with an elisp 
equivalent of
   (package
     (name "emacs-dedicated")
     (version "1.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/emacsorphanage/dedicated/archive/";
-                    version
-                    ".tar.gz"))
-              (sha256
-               (base32
-                "0nhbkp278cvcznb5rp3jp9ii3mjgb79zx8iwfrw7zfk3yg8688ni"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emacsorphanage/dedicated.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0pba9s0h37sxyqh733vi6k5raa4cs7aradipf3826inw36jcw414"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/emacsorphanage/dedicated";)
     (synopsis "Emacs minor mode for toggling a windows's \"dedicated\" flag")



reply via email to

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