guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: red-eclipse: Don't use unstable tarball.


From: guix-commits
Subject: 01/05: gnu: red-eclipse: Don't use unstable tarball.
Date: Thu, 28 Mar 2019 22:23:33 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit bb7c071b94ea88fdd2bda5ec78bbc08290d56b7b
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Mar 29 02:23:12 2019 +0100

    gnu: red-eclipse: Don't use unstable tarball.
    
    * gnu/packages/games.scm (red-eclipse)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/games.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index aaa8c68..01270fc 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2941,16 +2941,17 @@ http://lavachat.symlynx.com/unix/";)
                    release
                    (string-append release "-"
                                   (number->string revision))))
-      (source (origin
-                (method url-fetch)
-                (uri (string-append "https://github.com/red-eclipse/base";
-                                    "/archive/v" release ".tar.gz"))
-                (file-name (string-append name "-" version ".tar.gz"))
-                (sha256
-                 (base32
-                  "1vs9k6f5fgsiy1n72imlqm8khjwm8cryc08zwd4gr7yxlxv45bs0"))
-                (patches
-                 (search-patches "red-eclipse-remove-gamma-name-hack.patch"))))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/red-eclipse/base.git";)
+               (commit (string-append "v" release))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0qy9kmq21wc4bdhwifasxc5dv1y5c53sn7dfmyc5y3zyz8wjyij4"))
+         (patches
+          (search-patches "red-eclipse-remove-gamma-name-hack.patch"))))
       (build-system gnu-build-system)
       (arguments
        `(#:tests? #f            ; no check target



reply via email to

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