Ludovic Courtès 3e30cdf1c3
guix build: Support '--with-source=PACKAGE@VERSION=URI'.
* guix/scripts/build.scm (numeric-extension?, tarball-base-name): New
procedures, formerly in 'package-with-source'.
(transform-package-source)[new-sources]: Look for '=' in URI.  Each
element of the list of now a (PKG VERSION SOURCE) tuple.
Pass VERSION to 'package-with-source'.
(package-with-source): Add 'version' parameter and honor it.
* tests/scripts-build.scm ("options->transformation, with-source, PKG=URI")
("options->transformation, with-source, PKG@VER=URI"): New tests.
* doc/guix.texi (Package Transformation Options): Document the new
forms.
2017-12-23 00:05:05 +01:00
..
2017-07-21 17:03:24 +02:00
2017-01-28 18:55:20 +01:00
2017-03-18 00:38:41 +01:00
2015-01-26 21:58:12 +01:00
2017-11-21 23:09:16 +01:00
2017-05-03 16:16:17 +02:00
2017-11-08 22:31:58 +01:00
2017-05-03 16:16:17 +02:00
2017-12-12 18:11:22 +01:00
2015-01-11 23:50:01 +01:00
2017-11-19 23:09:01 +01:00
2017-12-12 18:11:22 +01:00
2017-12-11 19:12:23 +00:00