mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
4a24c48695
commit
6f10e74fc7
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ (define-public wine
|
||||||
(version "3.0")
|
(version "3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(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"))
|
"/wine-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
|
|
Loading…
Reference in a new issue