bug-guix
[Top][All Lists]
Advanced

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

bug#22242: Help constructing source URL


From: Ricardo Wurmus
Subject: bug#22242: Help constructing source URL
Date: Sat, 26 Dec 2015 08:46:38 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

Leo Famulari <address@hidden> writes:

> Our tinyproxy package needs to be updated to use the current source URL.
>
> The current URL is:
> https://download.banu.com/tinyproxy/1.8/tinyproxy-1.8.3.tar.gz
>
> I don't know how to abstract the "1.8" directory to account for other
> versions.

How about this:

(string-append "https://download.banu.com/tinyproxy/";
               (version-major+minor version)
               "/tinyproxy-" version ".tar.gz")

~~ Ricardo






reply via email to

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