guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: fortune-mod: Don't use unstable tarball.


From: Tobias Geerinckx-Rice
Subject: 01/02: gnu: fortune-mod: Don't use unstable tarball.
Date: Sat, 11 Aug 2018 12:13:45 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 7e1d376d304ad1c60007cfd06aae0fae0cd76642
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Aug 11 17:42:53 2018 +0200

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

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 453f732..2744d46 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5193,13 +5193,16 @@ Strife, Chex Quest, and fan-created games like Harmony, 
Hacx and Freedoom.")
   (package
     (name "fortune-mod")
     (version "2.4.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/shlomif/fortune-mod/";
-                                  "archive/" name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1hnqpkassh7fwg2jgvybr8mw7vzfikbrhb5r22367ilfwxnl9yd2"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/shlomif/fortune-mod";)
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1ayicdqjm9vfngp89kjw778q6lnawgc08zgn5l8ld4zd7ip11s8c"))))
     (build-system cmake-build-system)
     (arguments
      `(#:test-target "check"



reply via email to

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