guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: nethack: Don't use NAME in source URI.


From: guix-commits
Subject: 04/07: gnu: nethack: Don't use NAME in source URI.
Date: Thu, 28 Mar 2019 18:56:34 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a544817e800859cea57f070336ed307d78a3e399
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Mar 29 00:46:33 2019 +0100

    gnu: nethack: Don't use NAME in source URI.
    
    * gnu/packages/games.scm (nethack)[source]: Hard-code NAME, not VERSION.
---
 gnu/packages/games.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b04c381..7f23711 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -872,8 +872,9 @@ watch your CPU playing while enjoying a cup of tea!")
     (source
       (origin
         (method url-fetch)
-        (uri (string-append "https://www.nethack.org/download/";
-                            version "/" name "-361-src.tgz"))
+        (uri
+         (string-append "https://www.nethack.org/download/"; version "/nethack-"
+                        (string-join (string-split version #\.) "") 
"-src.tgz"))
         (sha256
           (base32 "1dha0ijvxhx7c9hr0452h93x81iiqsll8bc9msdnp7xdqcfbz32b"))))
     (inputs



reply via email to

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