guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/17: gnu: python2-quex: Parameterize the source uri.


From: Efraim Flashner
Subject: 17/17: gnu: python2-quex: Parameterize the source uri.
Date: Tue, 13 Mar 2018 16:58:32 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 620ea2de26f9ef43e4b7a9dcc2f587a17764595a
Author: Efraim Flashner <address@hidden>
Date:   Tue Mar 13 22:56:27 2018 +0200

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8db00db..106c040 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]