guix-commits
[Top][All Lists]
Advanced

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

07/203: gnu: git-annex-remote-hubic: Don't use unstable tarball.


From: guix-commits
Subject: 07/203: gnu: git-annex-remote-hubic: 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 3671b69c793d8c739d3aaba7ec0f83833c5f5381
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 20:27:26 2019 +0100

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

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index a388b9e..bb700b2 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1835,15 +1835,15 @@ Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.")
   (package
     (name "git-annex-remote-hubic")
     (version "0.3.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/Schnouki/"; name "/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "196g3jkaybjx11nbr51n0cjps3wjzb145ab76y717diqvvxp5v4r"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Schnouki/git-annex-remote-hubic.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "16y9sk67hfi17h9n2kkffyabfccksh5rab40hhk69v6cxmbpn2sx"))))
     (build-system python-build-system)
     (arguments `(#:python ,python-2))
     (native-inputs



reply via email to

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