[Nix-dev] Getting package name & version from URL

Marc Weber marco-oweber at gmx.de
Mon Aug 4 08:54:33 CEST 2008


On Sun, Aug 03, 2008 at 09:55:25PM +0200, Andres Loeh wrote:
> Extracting the version from the URL is in general even more difficult than
> extracting the version from the name-version pair. 
Of course this should only work for some obvious patterns such as
http://.*/([^/]+-[^/]+)\.[^/]*
           name-version.ext?params
or such..

How do you upgrade?
I do by entering $(dirname url) into the browser, use the right mouse
button (copy address) on the lastest and copy paste that into the
expression. This way inserting a variable again is more work.
But I don't think it really matters

Greetings
Marc



More information about the nix-dev mailing list