guix-commits
[Top][All Lists]
Advanced

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

163/203: gnu: emacs-datetime: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 95994b0212b878b88bc933fab91909523fb4f1cd
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:36:46 2019 +0200

    gnu: emacs-datetime: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-datetime)[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 4ab7dbf..06e20d1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9624,15 +9624,15 @@ navigate and display hierarchy structures.")
   (package
     (name "emacs-datetime")
     (version "0.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/doublep/datetime/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "12wqpj67rjij2ki7nmw38rz3k2bsq68pk6zswknlcn9qhp1zd9w9"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doublep/datetime.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0fdswqi53qx924lib7nd9dazn0916xf1ybrh3bcn3f8cn6b8ikg5"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/doublep/datetime/";)
     (synopsis "Library to work with dates in Emacs")



reply via email to

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