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

* gnu/packages/games.scm (nethack)[source]: Hard-code NAME, not VERSION.
master
Tobias Geerinckx-Rice 2019-03-29 00:46:33 +01:00
parent dd0369f426
commit a544817e80
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 2 deletions

View File

@ -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