gnu: wine: Parameterize version string in uri.

* gnu/packages/wine.scm (wine)[source]: Replace hard-coded version
string with parameterized version.
master
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
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@
(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