guix-devel/guix
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 download: Add "Accept: */*" to the headers. 2014-10-19 12:07:53 +02:00
build-system gnu: Add the 'glib-or-gtk' build system. 2014-10-08 12:01:50 +02:00
import
scripts guix lint: add the --checkers option. 2014-10-16 00:50:27 +02:00
base32.scm
base64.scm
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in
derivations.scm derivations: 'graft-derivation' correctly handles multiple-output sources. 2014-10-17 23:23:20 +02:00
download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
ftp-client.scm
gexp.scm
git-download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
gnu-maintenance.scm
gnupg.scm
hash.scm
http-client.scm
licenses.scm
monad-repl.scm
monads.scm monads: Add 'mbegin'. 2014-10-08 23:35:20 +02:00
nar.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
packages.scm packages: Add 'package-transitive-supported-systems'. 2014-10-17 23:23:21 +02:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Add 'relative-generation'. 2014-10-12 08:45:38 +04:00
records.scm records: Improve the docstring of 'define-record-type*'. 2014-10-17 23:23:20 +02:00
serialization.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
store.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
svn-download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
tests.scm
ui.scm profiles: Add condition types for profiles and generations. 2014-10-12 08:45:37 +04:00
utils.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00