guix-commits
[Top][All Lists]
Advanced

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

06/203: gnu: findnewest: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 395ee951c070ae8e9c039cfe3ee53413f602e923
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 20:27:21 2019 +0100

    gnu: findnewest: Don't use unstable tarball.
    
    * gnu/packages/version-control.scm (findnewest)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/version-control.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 45413de..a388b9e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1763,14 +1763,15 @@ output of the @code{git} command.")
   (package
     (name "findnewest")
     (version "0.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/0-wiz-0/findnewest/archive/findnewest-";
-                    version ".tar.gz"))
-              (sha256
-               (base32
-                "1ydis4y0amkgfr4y60sn076f1l41ya2kn89kfd9fqf44f9ccgb5r"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/0-wiz-0/findnewest.git";)
+             (commit (string-append "findnewest-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1x1cbn2b27h5r0ah5xc06fkalfdci2ngrgd4wibxjw0h88h0nvgq"))))
     (build-system gnu-build-system)
     (native-inputs `(("autoconf" ,autoconf)
                      ("automake" ,automake)))



reply via email to

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