gnu: wine: Parameterize version string in uri.

* gnu/packages/wine.scm (wine)[source]: Replace hard-coded version
string with parameterized version.
This commit is contained in:
Efraim Flashner 2018-01-19 10:59:20 +02:00
parent 4a24c48695
commit 6f10e74fc7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -64,7 +64,8 @@ (define-public wine
(version "3.0")
(source (origin
(method url-fetch)
(uri (string-append "https://dl.winehq.org/wine/source/3.0"
(uri (string-append "https://dl.winehq.org/wine/source/"
(version-major+minor version)
"/wine-" version ".tar.xz"))
(sha256
(base32