mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: python2-quex: Parameterize the source uri.
* gnu/packages/python.scm (python2-quex)[source]: Replace hard-coded version with parameterized one. Remove unnecessary file-name field.
This commit is contained in:
parent
8d32139df0
commit
620ea2de26
1 changed files with 4 additions and 3 deletions
|
@ -13001,11 +13001,12 @@ (define-public python2-quex-0.67.3
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/quex/HISTORY/0.67/quex-" version ".zip"))
|
(uri (string-append "mirror://sourceforge/quex/HISTORY/"
|
||||||
|
(version-major+minor version)
|
||||||
|
"/quex-" version ".zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14gv8ll3ipqv4kyc2xiy891nrmjl4ic823zfyx8hassagyclyppw"))
|
"14gv8ll3ipqv4kyc2xiy891nrmjl4ic823zfyx8hassagyclyppw"))))
|
||||||
(file-name (string-append name "-" version ".zip"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip)))
|
||||||
|
|
Loading…
Reference in a new issue