guix-commits
[Top][All Lists]
Advanced

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

70/203: gnu: emacs-writeroom: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 3610a05680788d6e242a632cc71dd4da41ccd2ff
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:21:58 2019 +0200

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index aba6083..178c80d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5159,15 +5159,15 @@ window edge.")
   (package
     (name "emacs-writeroom")
     (version "3.7")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/joostkremers/writeroom-mode/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0yqgp5h3kvvpgva4azakb2wnjl7gsyh45glf75crspv3xyq57f2r"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/joostkremers/writeroom-mode.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "13nbls5qxz5z8firjxaip8m9vzfbbpxmwrmr01njbk4axpwrpj0z"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-visual-fill-column" ,emacs-visual-fill-column)))



reply via email to

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