Quoting Alex Kost (2015-10-07 13:25:44) > > What about, instead, providing an interactive function that would > > prompt > > for a URL, run ‘guix download’ on that, and emit an ‘origin’ template at > > point with all the info? > > I see several problems here, but the main is: this sounds like it should > be synchronous: you give an URL, wait until the source is downloaded and > finally get the template at point. But downloading can take a VERY long > time, so I don't think it will be a usable command.
What about just having command line (non-emacs) tool? I'm thinking something inspired by Archlinux's `makepkg -g`, which downloads the sources based on the current build script and outputs something that can just be copied into it. I don't feel I have the full picture re: how that interacts with the macro's checking, but we could fall back on the user supplying URLs. -Ian
signature.asc
Description: signature