summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-03-13 22:56:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-03-13 22:58:16 +0200
commit620ea2de26f9ef43e4b7a9dcc2f587a17764595a (patch)
tree1c1f0a80c3552d9d302b43136e7a1685ba452035 /gnu/packages
parent8d32139df0bdea0b3ac3e68592d148d23b4e5a8e (diff)
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm7
1 files changed, 4 insertions, 3 deletions
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)))