guix-commits
[Top][All Lists]
Advanced

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

187/203: gnu: emacs-benchmark-init: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 8d7f5c55a7bb67162f6dac64ed8948f939f27f0e
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:39:17 2019 +0200

    gnu: emacs-benchmark-init: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-benchmark-init)[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 338b970..6577cb7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10574,15 +10574,15 @@ functions.")
   (package
     (name "emacs-benchmark-init")
     (version "1.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dholm/benchmark-init-el/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0szyqr4nncwz4vd5gww1vz31kf9r2lx25p4d0d09pm35974x53kz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dholm/benchmark-init-el.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1kyn1izm5sbqbp9whnhk9dn3yc7zy8bz5san5w3ivi3rpx15fh94"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/dholm/benchmark-init-el";)
     (synopsis "Benchmark Emacs @code{require} and @code{load} calls")



reply via email to

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