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 import: Add PyPI importer. 2014-09-29 19:30:28 -04:00
scripts guix lint: add the --checkers option. 2014-10-16 00:50:27 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
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 ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gexp.scm gexp: 'gexp->script' returns a script that can easily be compiled. 2014-09-08 00:03:38 +02:00
git-download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
gnu-maintenance.scm gnu-maintenance: Add missing type check. 2014-05-05 09:00:00 +02:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
http-client.scm download: Enlarge your receive buffer. 2014-05-23 22:19:37 +02:00
licenses.scm gnu: Add ruby. 2014-09-28 15:09:24 -04:00
monad-repl.scm Add (guix monad-repl). 2014-08-15 16:26:28 +02:00
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 pk-crypto: Add pretty-printer to 'gcry-error' exceptions. 2014-04-22 11:41:52 +02:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
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 Factorize test suite support in (guix tests). 2014-08-23 22:33:04 +02:00
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