packages: Add 'package-input-rewriting/spec'.
authorLudovic Courtès <ludo@gnu.org>
Tue, 12 Mar 2019 20:39:48 +0000 (21:39 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 17 Mar 2019 21:55:01 +0000 (22:55 +0100)
commitf258d8862852db9779945658b3a3f2b8a2a4c217
tree901dd1a5d6f2a4e254012fb8cf644f9a796772b7
parent880916ac5228b9cfd6e65ac243d17f6bd12edaf9
packages: Add 'package-input-rewriting/spec'.

* guix/packages.scm (package-input-rewriting/spec): New procedure.
* tests/packages.scm ("package-input-rewriting/spec")
("package-input-rewriting/spec, partial match"): New tests.
* doc/guix.texi (Defining Packages): Document it.
doc/guix.texi
guix/packages.scm
tests/packages.scm