guix-commits
[Top][All Lists]
Advanced

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

03/203: gnu: python-ghp-import: Don't use unstable tarball.


From: guix-commits
Subject: 03/203: gnu: python-ghp-import: 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 3d78bf0e1093d047f41a24676cd6c3f5179a8c6a
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 15:47:53 2019 +0100

    gnu: python-ghp-import: Don't use unstable tarball.
    
    * gnu/packages/version-control.scm (python-ghp-import)[source]: Use 
GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/version-control.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index ab5f661..6579e90 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -772,14 +772,13 @@ a built-in cache to decrease server I/O pressure.")
     (version "0.5.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/davisp/ghp-import/archive/";
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/davisp/ghp-import.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0x887v690xsac2hzjkpbvp3a6crh3m08mqbk3nb4xwc9dnk869q7"))))
+        (base32 "12pmw3zz3i57ljnm0rxdyjqdyhisbvy18mjwkb3bzp5pgzs2f45c"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases



reply via email to

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