From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#22242: Help constructing source URL Date: Sat, 26 Dec 2015 11:48:26 -0500 Message-ID: <20151226164826.GA25776@jasmine> References: <20151226070559.GA11537@jasmine> <8760zl649t.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCs1i-0004bh-PG for bug-guix@gnu.org; Sat, 26 Dec 2015 11:49:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCs1e-0006qd-Gx for bug-guix@gnu.org; Sat, 26 Dec 2015 11:49:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCs1e-0006qT-8t for bug-guix@gnu.org; Sat, 26 Dec 2015 11:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCs1e-0000aK-2r for bug-guix@gnu.org; Sat, 26 Dec 2015 11:49:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <8760zl649t.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: 22242@debbugs.gnu.org On Sat, Dec 26, 2015 at 08:46:38AM +0100, Ricardo Wurmus wrote: > > Leo Famulari 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") Thanks! I've updated the package definition using this method. > > ~~ Ricardo >