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:
parent
dd0369f426
commit
a544817e80
|
@ -872,8 +872,9 @@ watch your CPU playing while enjoying a cup of tea!")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.nethack.org/download/"
|
(uri
|
||||||
version "/" name "-361-src.tgz"))
|
(string-append "https://www.nethack.org/download/" version "/nethack-"
|
||||||
|
(string-join (string-split version #\.) "") "-src.tgz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1dha0ijvxhx7c9hr0452h93x81iiqsll8bc9msdnp7xdqcfbz32b"))))
|
(base32 "1dha0ijvxhx7c9hr0452h93x81iiqsll8bc9msdnp7xdqcfbz32b"))))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in New Issue