diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-01 16:57:48 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-01 23:21:00 +0100 |
commit | 2876b9892583bc1245d77fd10286025cd8433ede (patch) | |
tree | 38cc9dc2cbb116c0ef3c3e742bb1d432b0bef0e4 /m4 | |
parent | cc4ecc2d8869081483feaf47bdcb4a740c7c67f8 (diff) | |
download | patches-2876b9892583bc1245d77fd10286025cd8433ede.tar patches-2876b9892583bc1245d77fd10286025cd8433ede.tar.gz |
ui: Factorize package specification parsing.
* guix/ui.scm (package-specification->name+version+output): New
procedure.
* guix/scripts/package.scm (specification->package+output): Use it.
* tests/ui.scm ("package-specification->name+version+output"): New test.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions