guix/gnu
Ian Denhardt 29a7c98a42 gnu: Add 'version-prefix' and 'version-major+minor'; use them.
The procedure version-prefix truncates a version string to a certain
number of components. version-major+minor is a special case of this,
which extracts the "major.minor" part of the string. Previously this
was handled by an expression common to several packages.

* guix/utils.scm (version-prefix, version-major+minor): New procedures
* gnu/packages/backup.scm (duplicity): Use version-major+minor.
* gnu/packages/cmake.scm (cmake): Likewise.
* gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
* gnu/packages/gnutls.scm (gnutls): Likewise.
* gnu/packages/mail.scm (gmime): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/mpi.scm (openmpi): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-20 15:32:54 +02:00
..
build system: Add support for boot-time mapped devices. 2014-09-22 11:20:41 +02:00
packages gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
services services: Add '%facebook-host-aliases'. 2014-10-07 23:18:41 +02:00
system linux-initrd: Adjust VM code and doc to new 'base-initrd' signature. 2014-09-22 21:29:41 +02:00
packages.scm packages: Optimize 'find-packages-by-name' to avoid disk accesses. 2014-09-29 22:03:46 +02:00
services.scm services: Change default 'stop' value to #~(const #f). 2014-09-17 07:50:11 +02:00
system.scm system: Export 'local-host-aliases'. 2014-10-07 23:18:41 +02:00