Leo Famulari writes: > On Wed, Jun 22, 2016 at 01:35:17PM -0500, Christopher Allan Webber wrote: >> Note that the old URL scheme no longer seemed to work. >> >> I'm not thrilled by the new URL "scheme". It seems like more work to >> update with each version bump. I'm not sure what the solution is? > > Please review Ben's 'pypi-origin' patch :) > > http://lists.gnu.org/archive/html/guix-devel/2016-06/msg00724.html > >> (source (origin >> (method url-fetch) >> - (uri (pypi-uri "Flask" version)) >> + (uri >> + (string-append >> + "https://pypi.python.org/packages/55/8a/" >> + "78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c959688872643ffb3/" >> + "Flask-0.11.1.tar.gz")) > > In the meantime, I think it's best to keep the hash on its own line, to > reduce noise in the commit log if we do more updates in this format. Ah, nixpkgs use pypi.io for it, and it will redirect the old uri scheme to the new one. I guess we should do the same?