From 620ea2de26f9ef43e4b7a9dcc2f587a17764595a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 13 Mar 2018 22:56:27 +0200 Subject: 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. --- gnu/packages/python.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8db00dbf37..106c040bf8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13001,11 +13001,12 @@ filesystem events on Linux.") (source (origin (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 (base32 - "14gv8ll3ipqv4kyc2xiy891nrmjl4ic823zfyx8hassagyclyppw")) - (file-name (string-append name "-" version ".zip")))) + "14gv8ll3ipqv4kyc2xiy891nrmjl4ic823zfyx8hassagyclyppw")))) (build-system python-build-system) (native-inputs `(("unzip" ,unzip))) -- cgit 1.4.1