gnu: gpxsee: Fetch from Git instead of a generated tarball.
authorLudovic Courtès <ludo@gnu.org>
Thu, 13 Jun 2019 09:03:46 +0000 (11:03 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 13 Jun 2019 11:00:37 +0000 (13:00 +0200)
* gnu/packages/gps.scm (gpxsee)[source]: Use 'git-fetch'.

gnu/packages/gps.scm

index ec45704..75212ed 100644 (file)
@@ -177,14 +177,14 @@ coordinates as well as partial support for adjustments in global coordinate syst
     (name "gpxsee")
     (version "7.8")
     (source (origin
-              (method url-fetch)
-              (uri
-               (string-append "https://github.com/tumic0/GPXSee/archive/"
-                              version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tumic0/GPXSee")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1k9nbs3knl6s0s4bf1rgrc9lwczawnzm7629igw0zmxb5yka7d9v"))))
+                "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases