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

* gnu/packages/games.scm (nethack)[source]: Hard-code NAME, not VERSION.
This commit is contained in:
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

View file

@ -872,8 +872,9 @@ (define-public nethack
(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