Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-02 Thread Eelco Dolstra
Hi, On 01/03/15 16:21, Anderson Torres wrote: How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like http://windowmaker.org/dockapps/?download=wmSMPmon-3.1.tar.gz;, it in fact downloads something like wmSMPmon-${a long string of chars, like a

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
2015-03-01 15:16 GMT-03:00 Berno Strik dutchma...@gmx.com: Op Sun, 1 Mar 2015 12:21:04 -0300 Anderson Torres torres.anderson...@gmail.com schreef: Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
2015-03-01 15:21 GMT-03:00 Harald van Dijk har...@gigawatt.nl: Hi, The problem here is not with the file names, but that you don't actually get the same file every time. The file is generated by the server on-the-fly, and the mtimes of the files in the download you get depend on the precise

[Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like http://windowmaker.org/dockapps/?download=wmSMPmon-3.1.tar.gz;, it in fact downloads something like wmSMPmon-${a long string of chars, like a checksum}.tar.gz. And the long string is

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Berno Strik
Op Sun, 1 Mar 2015 12:21:04 -0300 Anderson Torres torres.anderson...@gmail.com schreef: Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like http://windowmaker.org/dockapps/?download=wmSMPmon-3.1.tar.gz;, it in fact downloads

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Harald van Dijk
Hi, The problem here is not with the file names, but that you don't actually get the same file every time. The file is generated by the server on-the-fly, and the mtimes of the files in the download you get depend on the precise moment you download it, as you can tell by inspecting the output