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:
Efraim Flashner 2018-03-13 22:56:27 +02:00
parent 8d32139df0
commit 620ea2de26
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 3 deletions

View File

@ -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)))