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
|
@ -13001,11 +13001,12 @@ filesystem events on Linux.")
|
||||||
(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 New Issue