jackhill/guix/guix.git
7 years agognu: Add emacs-page-break-lines.
Ricardo Wurmus [Wed, 6 Jul 2016 09:55:41 +0000 (11:55 +0200)]
gnu: Add emacs-page-break-lines.

* gnu/packages/emacs.scm (emacs-page-break-lines): New variable.

7 years agognu: Add emacs-paren-face.
Ricardo Wurmus [Wed, 6 Jul 2016 07:12:16 +0000 (09:12 +0200)]
gnu: Add emacs-paren-face.

* gnu/packages/emacs.scm (emacs-paren-face): New variable.

7 years agognu: Add emacs-znc.
Ricardo Wurmus [Tue, 5 Jul 2016 13:40:02 +0000 (15:40 +0200)]
gnu: Add emacs-znc.

* gnu/packages/emacs.scm (emacs-znc): New variable.

7 years agognu: Add emacs-fill-column-indicator.
Ricardo Wurmus [Tue, 5 Jul 2016 11:50:36 +0000 (13:50 +0200)]
gnu: Add emacs-fill-column-indicator.

* gnu/packages/emacs.scm (emacs-fill-column-indicator): New variable.

7 years agognu: Add emacs-expand-region.
Ricardo Wurmus [Tue, 5 Jul 2016 10:24:05 +0000 (12:24 +0200)]
gnu: Add emacs-expand-region.

* gnu/packages/emacs.scm (emacs-expand-region): New variable.

7 years agognu: Add emacs-espuds.
Ricardo Wurmus [Tue, 12 Jul 2016 18:29:50 +0000 (20:29 +0200)]
gnu: Add emacs-espuds.

* gnu/packages/emacs.scm (emacs-espuds): New variable.

7 years agognu: Add emacs-el-mock.
Ricardo Wurmus [Tue, 12 Jul 2016 18:27:47 +0000 (20:27 +0200)]
gnu: Add emacs-el-mock.

* gnu/packages/emacs.scm (emacs-el-mock): New variable.

7 years agognu: Add rlwrap.
Efraim Flashner [Sun, 17 Jul 2016 05:56:03 +0000 (08:56 +0300)]
gnu: Add rlwrap.

* gnu/packages/readline.scm (rlwrap): New variable.

7 years agognu: Add reptyr.
Alex Griffin [Fri, 8 Jul 2016 19:27:32 +0000 (14:27 -0500)]
gnu: Add reptyr.

* gnu/packages/screen.scm (reptyr): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: gd: Fix CVE-2016-{5766,6128,6132,6214}.
Leo Famulari [Fri, 15 Jul 2016 18:48:09 +0000 (14:48 -0400)]
gnu: gd: Fix CVE-2016-{5766,6128,6132,6214}.

* gnu/packages/patches/gd-CVE-2016-5766.patch,
gnu/packages/patches/gd-CVE-2016-6128.patch,
gnu/packages/patches/gd-CVE-2016-6132.patch,
gnu/packages/patches/gd-CVE-2016-6214.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gd.scm (gd): Use patches.

7 years agognu: gd: Update to 2.2.2 [fixes CVE-2016-{5767,6161}].
Leo Famulari [Fri, 15 Jul 2016 18:47:47 +0000 (14:47 -0400)]
gnu: gd: Update to 2.2.2 [fixes CVE-2016-{5767,6161}].

* gnu/packages/gd.scm (gd): Update to 2.2.2.

7 years agognu: pidgin: Update to 2.11.0 [security fixes].
Leo Famulari [Sat, 16 Jul 2016 15:45:18 +0000 (11:45 -0400)]
gnu: pidgin: Update to 2.11.0 [security fixes].

Fixes CVE-2016-{2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,
2377,2378,2379,2380,4323}.

* gnu/packages/messaging.scm (pidgin): Update to 2.11.0.

7 years agognu: geda-gaf: Update to 1.9.2.
Ricardo Wurmus [Wed, 13 Jul 2016 19:24:14 +0000 (21:24 +0200)]
gnu: geda-gaf: Update to 1.9.2.

* gnu/packages/engineering.scm (geda-gaf): Update to 1.9.2.

7 years agognu: geda-gaf: Use modify-phases syntax.
Ricardo Wurmus [Wed, 13 Jul 2016 19:23:40 +0000 (21:23 +0200)]
gnu: geda-gaf: Use modify-phases syntax.

* gnu/packages/engineering.scm (geda-gaf)[arguments]: Use modify-phases
  syntax.

7 years agoguix gc: Display of saved space for garbage collection.
Vincent Legoll [Sat, 16 Jul 2016 08:05:48 +0000 (10:05 +0200)]
guix gc: Display of saved space for garbage collection.

Fixes <http://bugs.gnu.org/23979>.

* guix/scripts/gc.scm (guix-gc): Display freed bytes.

Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: Add encfs.
Tobias Geerinckx-Rice [Sat, 16 Jul 2016 00:35:35 +0000 (02:35 +0200)]
gnu: Add encfs.

* gnu/packages/crypto.scm (rlog, encfs): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agobuild: Substitute URLs now default to "mirror.hydra.gnu.org" alone.
Ludovic Courtès [Sat, 16 Jul 2016 10:52:42 +0000 (12:52 +0200)]
build: Substitute URLs now default to "mirror.hydra.gnu.org" alone.

* config-daemon.ac: Remove "hydra.gnu.org" from 'guix_substitute_urls'.
* guix/store.scm (%default-substitute-urls): Remove "hydra.gnu.org".

7 years agoservices: dbus: Synchronize startup using dbus-daemon's PID file.
Ludovic Courtès [Fri, 15 Jul 2016 22:03:41 +0000 (00:03 +0200)]
services: dbus: Synchronize startup using dbus-daemon's PID file.

* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
'make-forkexec-constructor'.

7 years agognu: lm-sensors: Add alternate source URL.
Andreas Enge [Fri, 15 Jul 2016 17:18:36 +0000 (19:18 +0200)]
gnu: lm-sensors: Add alternate source URL.

* gnu/packages/linux.scm (lm-sensors)[source]: Add URL.

7 years agognu: borg: Update to 1.0.6.
Leo Famulari [Thu, 7 Jul 2016 17:46:00 +0000 (13:46 -0400)]
gnu: borg: Update to 1.0.6.

* gnu/packages/backup.scm (borg): Update to 1.0.6.
[source]: Use pypi-uri.

7 years agoservices: Add 'dropbear-service'.
David Craven [Wed, 13 Jul 2016 16:13:12 +0000 (18:13 +0200)]
services: Add 'dropbear-service'.

* gnu/services/ssh.scm (<dropbear-configuration>): New record type.
(dropbear-activation, dropbear-shepherd-service, dropbear-service): New
procedures.
(dropbear-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: lsh: Move to (gnu packages ssh)
David Craven [Wed, 13 Jul 2016 16:13:11 +0000 (18:13 +0200)]
gnu: lsh: Move to (gnu packages ssh)

* gnu/packages/lsh.scm: Remove.  Move 'lsh and liboop' to...
* gnu/packages/ssh.scm (liboop, lsh): ... here.  New variables.
* gnu/services/ssh.scm, gnu/services/base.scm: Adjust accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: diffoscope: Update to 54.
Leo Famulari [Fri, 15 Jul 2016 15:35:05 +0000 (11:35 -0400)]
gnu: diffoscope: Update to 54.

* gnu/packages/package-management.scm (diffoscope): Update to 54.

7 years agognu: Import (guix licenses) with #:prefix.
Tobias Geerinckx-Rice [Thu, 14 Jul 2016 15:07:25 +0000 (17:07 +0200)]
gnu: Import (guix licenses) with #:prefix.

* gnu/packages/crypto.scm: Add 'license:' #:prefix for (guix licenses).

Signed-off-by: Andreas Enge <andreas@enge.fr>
7 years agoUpdate e-mail address for Tobias Geerinckx-Rice.
Andreas Enge [Fri, 15 Jul 2016 12:29:22 +0000 (14:29 +0200)]
Update e-mail address for Tobias Geerinckx-Rice.

* .mailmap: Add Tobias Geerinckx-Rice.
* gnu/packages/disk.scm: Replace "tobias.geerinckx.rice@gmail.com" with
"me@tobias.gr".
* gnu/packages/linux.scm: Likewise.
* gnu/packages/networking.scm: Likewise.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
7 years agoinstall: Add mdadm to the image.
Andreas Enge [Thu, 14 Jul 2016 13:07:49 +0000 (15:07 +0200)]
install: Add mdadm to the image.

* gnu/system/install.scm (installation-os)[packages]: Add mdadm.

7 years agognu: racket: Update to 6.5.
Alex Vong [Wed, 13 Jul 2016 15:29:31 +0000 (23:29 +0800)]
gnu: racket: Update to 6.5.

* gnu/packages/scheme.scm (racket): Update to 6.5.

Signed-off-by: Andreas Enge <andreas@enge.fr>
7 years agognu: git: Update to 2.9.1.
Leo Famulari [Thu, 14 Jul 2016 19:49:50 +0000 (15:49 -0400)]
gnu: git: Update to 2.9.1.

* gnu/packages/version-control.scm (git): Update to 2.9.1.
(git-manpages)[source]: Update hash.

7 years agodoc: Mention commit signatures in HACKING.
Leo Famulari [Tue, 5 Jul 2016 18:29:56 +0000 (14:29 -0400)]
doc: Mention commit signatures in HACKING.

* HACKING: Mention commit signatures.

7 years agorecords: Improve reporting of invalid field specifiers.
Ludovic Courtès [Thu, 14 Jul 2016 16:58:36 +0000 (18:58 +0200)]
records: Improve reporting of invalid field specifiers.

Fixes <http://bugs.gnu.org/23969>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* guix/records.scm (report-invalid-field-specifier): New procedure.
* tests/records.scm ("define-record-type* & wrong field specifier"): New
test.

7 years agochallenge: Disable grafting.
Ludovic Courtès [Thu, 14 Jul 2016 13:25:00 +0000 (15:25 +0200)]
challenge: Disable grafting.

* guix/scripts/challenge.scm (guix-challenge): Set %GRAFT? to #f.

7 years agosubstitute: Gracefully handle trailing slashes in URLs.
Ludovic Courtès [Thu, 14 Jul 2016 13:19:07 +0000 (15:19 +0200)]
substitute: Gracefully handle trailing slashes in URLs.

Previously, using something like
"--substitute-urls=http://example.org///" would lead to a
'cache-narinfo!' call with #f as its second argument.

It would also do the wrong thing for URLs with a non-empty initial path
component, such as "http://example.org/foo/bar".

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add call to 'basename' for PATH.

7 years agognu: Add eigensoft.
Ricardo Wurmus [Tue, 12 Jul 2016 13:29:19 +0000 (15:29 +0200)]
gnu: Add eigensoft.

* gnu/packages/bioinformatics.scm (eigensoft): New variable.

7 years agognu: python-setuptools-scm: Update to 1.11.1.
Efraim Flashner [Thu, 14 Jul 2016 02:49:46 +0000 (05:49 +0300)]
gnu: python-setuptools-scm: Update to 1.11.1.

* gnu/packages/python.scm (python-setuptools-scm): Update to 1.11.1.

7 years agodoc: Explain 'guix hash -r' for Git checkouts.
Ludovic Courtès [Wed, 13 Jul 2016 21:51:17 +0000 (23:51 +0200)]
doc: Explain 'guix hash -r' for Git checkouts.

* doc/guix.texi (origin Reference): Add xref to "guix download" and
"guix hash".
(Invoking guix hash): Provide an example to compute the hash of a Git
checkout.

Co-authored-by: Troy Sankey <sankeytms@gmail.com>
7 years agosystem: Change the shell of 'nobody' to 'nologin'.
Ludovic Courtès [Wed, 13 Jul 2016 21:42:35 +0000 (23:42 +0200)]
system: Change the shell of 'nobody' to 'nologin'.

Fixes <http://bugs.gnu.org/23971>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* gnu/system/shadow.scm (%base-user-accounts): Add 'shell' field.  Set
'home-directory' to "/nonexistent".

7 years agognu: grub: Update to 2.02~beta3.
Jan Nieuwenhuizen [Thu, 16 Jun 2016 07:50:27 +0000 (09:50 +0200)]
gnu: grub: Update to 2.02~beta3.

* gnu/packages/grub.scm (grub): Update to 2.02~beta3.
[arguments]: Modify tests/grub_func_test.in in 'patch-stuff' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: screen: Remove unneeded configure flags.
Ludovic Courtès [Wed, 13 Jul 2016 10:40:42 +0000 (12:40 +0200)]
gnu: screen: Remove unneeded configure flags.

* gnu/packages/screen.scm (screen)[arguments]: Remove --infodir and
--mandir, which are no longer needed.

7 years agognu: screen: Support 256 colors.
George Clemmer [Tue, 12 Jul 2016 17:57:28 +0000 (13:57 -0400)]
gnu: screen: Support 256 colors.

* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: linux-libre: Update to 4.6.4.
Mark H Weaver [Wed, 13 Jul 2016 01:57:33 +0000 (21:57 -0400)]
gnu: linux-libre: Update to 4.6.4.

* gnu/packages/linux.scm (linux-libre): Update to 4.6.4.

7 years agognu: linux-libre-4.4: Update to 4.4.15.
Mark H Weaver [Wed, 13 Jul 2016 01:52:06 +0000 (21:52 -0400)]
gnu: linux-libre-4.4: Update to 4.4.15.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.15.

7 years agolint: 'validate-uri' reports suspiciously small 200 responses.
Ludovic Courtès [Tue, 12 Jul 2016 22:50:05 +0000 (00:50 +0200)]
lint: 'validate-uri' reports suspiciously small 200 responses.

* guix/scripts/lint.scm (validate-uri): Upon 200 http-response, check
the 'response-content-length' and emit a warning when it is <= 1000.
* tests/lint.scm (call-with-http-server): Add 'data' parameter.
(with-http-server): Likewise.
(%long-string): New variable.
("home-page: 200"): Pass %LONG-STRING to 'with-http-server'.
("home-page: 404", "source: 200", "source: 404"): Likewise.
("home-page: 200 but short length"): New test.
("source: 200 but short length"): New test.

7 years agodownload: Attempt to update SourceForge mirror URLs.
Ludovic Courtès [Tue, 12 Jul 2016 22:32:36 +0000 (00:32 +0200)]
download: Attempt to update SourceForge mirror URLs.

* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead
of "/sourceforge".  Remove a couple of dangling URLs.

7 years agognu: Add gptfdisk.
Jan Nieuwenhuizen [Thu, 16 Jun 2016 21:58:45 +0000 (23:58 +0200)]
gnu: Add gptfdisk.

* gnu/packages/disk.scm (gptfdisk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: emacs-flycheck: Add missing dependency on emacs-seq.
Ludovic Courtès [Tue, 12 Jul 2016 20:26:25 +0000 (22:26 +0200)]
gnu: emacs-flycheck: Add missing dependency on emacs-seq.

Fixes a regression introduced in
afb6fdaa5de2607261015372f31b1c19fd503a61.

* gnu/packages/emacs.scm (flycheck)[propagated-inputs]: Add EMACS-SEQ.

7 years agopackages: <origin> no longer has an 'imported-modules' field.
Ludovic Courtès [Tue, 12 Jul 2016 20:23:12 +0000 (22:23 +0200)]
packages: <origin> no longer has an 'imported-modules' field.

* guix/packages.scm (<origin>)[imported-modules]: Remove.
(patch-and-repack): Remove #:imported-modules.  Use
'with-imported-modules'.  Remove #:modules argument to
'gexp->derivation'.
(origin->derivation): Adjust accordingly.
* doc/guix.texi (origin Reference): Adjust accordingly.

7 years agognu: Remove unneeded 'imported-modules' fields for 'origin'.
Ludovic Courtès [Tue, 12 Jul 2016 19:56:22 +0000 (21:56 +0200)]
gnu: Remove unneeded 'imported-modules' fields for 'origin'.

* gnu/packages/engineering.scm (fastcap)[source](modules,
imported-modules): Remove.
* gnu/packages/wm.scm (awesome)[source](imported-modules): Remove.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
'imported-modules' field.

7 years agogexp: Remove more uses of #:modules.
Ludovic Courtès [Tue, 12 Jul 2016 16:00:16 +0000 (18:00 +0200)]
gexp: Remove more uses of #:modules.

* guix/scripts/system.scm (switch-to-system): Adjust comment.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Use
'with-imported-modules' instead of #:modules.
* tests/grafts.scm ("graft-derivation, preserve empty directories"):
Likewise.

7 years agogexp: 'program-file' and 'gexp->script' no longer have #:modules.
Ludovic Courtès [Tue, 12 Jul 2016 15:57:28 +0000 (17:57 +0200)]
gexp: 'program-file' and 'gexp->script' no longer have #:modules.

* guix/gexp.scm (<program-file>)[modules]: Remove.
(program-file): Remove #:modules and adjust accordingly.
(program-file-compiler): Likewise.
(gexp->script): Likewise.

7 years agogexp: 'computed-file' no longer has a #:modules parameter.
Ludovic Courtès [Tue, 12 Jul 2016 15:43:19 +0000 (17:43 +0200)]
gexp: 'computed-file' no longer has a #:modules parameter.

* guix/gexp.scm (<computed-file>)[modules]: Remove.
(computed-file): Remove #:modules.
(computed-file-compiler): Likewise.
* doc/guix.texi (G-Expressions): Adjust accordingly.

7 years agodownload: Use 'with-imported-modules'.
Ludovic Courtès [Mon, 11 Jul 2016 22:56:37 +0000 (00:56 +0200)]
download: Use 'with-imported-modules'.

* guix/cvs-download.scm (cvs-fetch): Use 'with-imported-modules' instead
of the #:modules argument of 'gexp->derivation'.
* guix/download.scm (url-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.

7 years agoprofiles: Use 'with-imported-modules'.
Ludovic Courtès [Mon, 11 Jul 2016 22:54:22 +0000 (00:54 +0200)]
profiles: Use 'with-imported-modules'.

* guix/profiles.scm (info-dir-file): Use 'with-imported-modules' instead
of the #:module argument to 'gexp->derivation'.
(ghc-package-cache-file): Likewise.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(xdg-desktop-database): Likewise.
(xdg-mime-database): Likewise.
(profile-derivation): Likewise.

7 years agoservices: <shepherd-service> no longer has an 'imported-modules' field.
Ludovic Courtès [Mon, 11 Jul 2016 22:38:50 +0000 (00:38 +0200)]
services: <shepherd-service> no longer has an 'imported-modules' field.

* gnu/services/shepherd.scm (<shepherd-service>)[imported-modules]:
Remove.
(%default-imported-modules): Make private.
(shepherd-service-file): Use 'with-imported-modules'.
(shepherd-configuration-file): Remove 'modules' and the calls to
'imported-modules' and 'compiled-modules'.  Use
'with-imported-modules' instead.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu/services/base.scm (file-system-shepherd-service): Use
'with-imported-modules'.  Remove 'imported-modules' field.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
'imported-modules'.
(open-luks-device): Use 'with-imported-modules'.
* gnu/tests.scm (marionette-shepherd-service): Remove 'imported-modules'
field and use 'with-imported-modules'.

7 years agognu: Use 'gexp->file' in conjunction with 'with-imported-modules'.
Ludovic Courtès [Mon, 4 Jul 2016 21:58:57 +0000 (23:58 +0200)]
gnu: Use 'gexp->file' in conjunction with 'with-imported-modules'.

* gnu/services.scm (activation-script): Remove code to set '%load-path'
and use 'with-imported-modules' instead.
(cleanup-gexp): Likewise.
* gnu/system/vm.scm (%vm-module-closure): New variable.
(expression->derivation-in-linux-vm): Remove #:modules.
[loader]: Remove code to set '%load-path'.
[builder]: Use %VM-MODULE-CLOSURE.
(qemu-image): Use 'with-imported-modules'.

7 years agogexp: 'gexp->file' emits code to set '%load-path'.
Ludovic Courtès [Mon, 4 Jul 2016 21:54:18 +0000 (23:54 +0200)]
gexp: 'gexp->file' emits code to set '%load-path'.

* guix/gexp.scm (gexp->file): Add #:set-load-path? parameter and honor it.
* gnu/system.scm (operating-system-parameters-file): Pass
  #:set-load-path? #f.
* doc/guix.texi (G-Expressions): Adjust accordingly.

7 years agogexp: Factorize load-path-setting expression.
Ludovic Courtès [Mon, 4 Jul 2016 20:19:23 +0000 (22:19 +0200)]
gexp: Factorize load-path-setting expression.

* guix/gexp.scm (load-path-expression): New procedure.
(gexp->script): Use it.

7 years agolinux-container: Fix list of imported modules.
Ludovic Courtès [Sun, 3 Jul 2016 21:31:14 +0000 (23:31 +0200)]
linux-container: Fix list of imported modules.

This fixes a regression introduced in
958dd3ce68733bcd5c1231424c7e4ad39e67594a.

* gnu/system/linux-container.scm (container-script)[script]: Add (guix
combinators) to the list of imported modules.

7 years agognu: Switch to 'with-imported-modules'.
Ludovic Courtès [Sun, 3 Jul 2016 21:11:40 +0000 (23:11 +0200)]
gnu: Switch to 'with-imported-modules'.

* gnu/services.scm (directory-union): Use 'with-imported-modules'
instead of the '#:modules' argument of 'computed-file'.
* gnu/services/base.scm (udev-rules-union): Likewise.
* gnu/services/dbus.scm (system-service-directory): Likewise.
* gnu/services/desktop.scm (wrapped-dbus-service):
(polkit-directory): Likewise.
* gnu/services/networking.scm (tor-configuration->torrc): Likewise.
* gnu/services/xorg.scm (xorg-configuration-directory): Likewise.
* gnu/system/install.scm (self-contained-tarball): Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/linux-initrd.scm (expression->initrd): Likewise, and
remove #:modules parameter.
(flat-linux-module-directory): Use 'with-imported-modules'.
(base-initrd): Likewise.
* gnu/system/locale.scm (locale-directory): Likewise.
* gnu/system/shadow.scm (default-skeletons): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
* gnu/tests/base.scm (run-basic-test): Likewise.
* gnu/tests/install.scm (run-install): Likewise.
* doc/guix.texi (Initial RAM Disk): Update 'expression->initrd'
documentation.

7 years agogexp: Add 'with-imported-modules' macro.
Ludovic Courtès [Sun, 3 Jul 2016 20:26:19 +0000 (22:26 +0200)]
gexp: Add 'with-imported-modules' macro.

* guix/gexp.scm (<gexp>)[modules]: New field.
(gexp-modules): New procedure.
(gexp->derivation): Use it and append the result to %MODULES.
Update docstring to mark #:modules as deprecated.
(current-imported-modules, with-imported-modules): New macros.
(gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'.
(gexp->script): Use and honor 'gexp-modules'; define '%modules'.
* tests/gexp.scm ("gexp->derivation & with-imported-modules")
("gexp->derivation & nested with-imported-modules")
("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"):
New tests.
("program-file"): Use 'with-imported-modules'.  Remove #:modules
argument to 'program-file'.
* doc/guix.texi (G-Expressions): Document 'with-imported-modules'.
Mark #:modules of 'gexp->derivation' as deprecated.
* emacs/guix-devel.el: Add syntax for 'with-imported-modules'.
(guix-devel-keywords): Add it.
* .dir-locals.el: Likewise.

7 years agogexp: Keep only a single 'references' field.
Ludovic Courtès [Sat, 2 Jul 2016 21:19:40 +0000 (23:19 +0200)]
gexp: Keep only a single 'references' field.

The distinction between native inputs and "normal" inputs can already be
determined by looking at the 'native?' field of <gexp-input>.  The extra
'natives' field of <gexp> added complexity for no good reason.

* guix/gexp.scm (<gexp>)[natives]: Remove.
(write-gexp): Remove use of 'gexp-native-references'.
(gexp-inputs)[native-input?]: New procedure.
Use it.
(gexp->sexp)[reference->sexp]: Honor N? for input lists.
Remove use of 'gexp-native-references'.
(gexp)[collect-native-escapes]: Remove.
Simplify.

7 years agognu: obs: Remove compiler flags for non-Intel hardware.
Efraim Flashner [Tue, 12 Jul 2016 14:45:13 +0000 (17:45 +0300)]
gnu: obs: Remove compiler flags for non-Intel hardware.

* gnu/packages/video.scm (obs)[arguments]: If compiling for arm or mips
devices then don't add Intel specific compiler flags.

7 years agognu: Add Ribotaper.
Ricardo Wurmus [Tue, 12 Jul 2016 10:19:39 +0000 (12:19 +0200)]
gnu: Add Ribotaper.

* gnu/packages/bioinformatics.scm (ribotaper): New variable.

7 years agognu: Add bedtools-2.18.
Ricardo Wurmus [Tue, 12 Jul 2016 10:19:15 +0000 (12:19 +0200)]
gnu: Add bedtools-2.18.

* gnu/packages/bioinformatics.scm (bedtools-2.18): New variable.

7 years agognu: xscreensaver: Update to 5.35.
Efraim Flashner [Tue, 12 Jul 2016 07:34:43 +0000 (10:34 +0300)]
gnu: xscreensaver: Update to 5.35.

* gnu/packages/xdisorg.scm (xscreensaver): Update to 5.35.

7 years agognu: sxhkd: Update to 0.5.6.
Efraim Flashner [Tue, 12 Jul 2016 06:59:10 +0000 (09:59 +0300)]
gnu: sxhkd: Update to 0.5.6.

* gnu/packages/xdisorg.scm (sxhkd): Update to 0.5.6.

7 years agognu: mtdev: Update to 1.1.5.
Efraim Flashner [Tue, 12 Jul 2016 06:45:07 +0000 (09:45 +0300)]
gnu: mtdev: Update to 1.1.5.

* gnu/packages/xdisorg.scm (mtdev): Update to 1.1.5.

7 years agognu: libxkbcommon: Update to 0.6.1.
Efraim Flashner [Tue, 12 Jul 2016 06:34:24 +0000 (09:34 +0300)]
gnu: libxkbcommon: Update to 0.6.1.

* gnu/packages/xdisorg.scm (libxkbcommon): Update to 0.6.1.

7 years agognu: arandr: Update to 0.1.9.
Efraim Flashner [Tue, 12 Jul 2016 06:29:57 +0000 (09:29 +0300)]
gnu: arandr: Update to 0.1.9.

* gnu/packages/xdisorg.scm (arandr): Update to 0.1.9.

7 years agognu: mpd: Update to 0.19.17.
Leo Famulari [Tue, 12 Jul 2016 05:34:34 +0000 (01:34 -0400)]
gnu: mpd: Update to 0.19.17.

* gnu/packages/mpd.scm (mpd): Update to 0.19.17.

7 years agognu: parallel: Update to 20160622.
Ben Woodcroft [Tue, 12 Jul 2016 04:02:13 +0000 (14:02 +1000)]
gnu: parallel: Update to 20160622.

* gnu/packages/parallel.scm (parallel): Update to 20160622.

7 years agognu: Add Tmux Themepack.
Matthew Jordan [Wed, 18 May 2016 22:20:30 +0000 (18:20 -0400)]
gnu: Add Tmux Themepack.

* gnu/packages/tmux.scm (tmux-themepack): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: help2man: Update to 1.47.4.
Efraim Flashner [Sun, 10 Jul 2016 18:34:11 +0000 (21:34 +0300)]
gnu: help2man: Update to 1.47.4.

* gnu/packages/man.scm (help2man): Update to 1.47.4.

7 years agognu: man-pages: Update to 4.0.6.
Efraim Flashner [Sun, 10 Jul 2016 18:32:42 +0000 (21:32 +0300)]
gnu: man-pages: Update to 4.0.6.

* gnu/packages/man.scm (man-pages): Update to 4.0.6.

7 years agognu: man-db: Update to 2.7.5.
Efraim Flashner [Sun, 10 Jul 2016 18:29:15 +0000 (21:29 +0300)]
gnu: man-db: Update to 2.7.5.

* gnu/packages/man.scm (man-db): Update to 2.7.5.

7 years agognu: obs: Update to 0.15.1.
Efraim Flashner [Sun, 10 Jul 2016 18:22:29 +0000 (21:22 +0300)]
gnu: obs: Update to 0.15.1.

* gnu/packages/video.scm (obs): Update to 0.15.1.

7 years agognu: libbluray: Update to 0.9.3.
Efraim Flashner [Sun, 10 Jul 2016 18:00:33 +0000 (21:00 +0300)]
gnu: libbluray: Update to 0.9.3.

* gnu/packages/video.scm (libbluray): Update to 0.9.3.

7 years agognu: libmtp: Update to 1.1.11.
Ricardo Wurmus [Sun, 10 Jul 2016 16:00:05 +0000 (18:00 +0200)]
gnu: libmtp: Update to 1.1.11.

* gnu/packages/patches/libmtp-devices.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.11.

7 years agognu: diamond: Update to 0.8.12.
Ben Woodcroft [Sun, 10 Jul 2016 12:31:32 +0000 (22:31 +1000)]
gnu: diamond: Update to 0.8.12.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.12.

7 years agognu: Add gnome-mpv.
Alex Griffin [Wed, 6 Jul 2016 23:58:17 +0000 (18:58 -0500)]
gnu: Add gnome-mpv.

* gnu/packages/video.scm (gnome-mpv): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: mpv: Enable shared library support.
Alex Griffin [Wed, 6 Jul 2016 23:55:54 +0000 (18:55 -0500)]
gnu: mpv: Enable shared library support.

* gnu/packages/video.scm (mpv): Enable shared library support.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: ccache: Update to 3.2.5.
Efraim Flashner [Sat, 9 Jul 2016 21:12:56 +0000 (00:12 +0300)]
gnu: ccache: Update to 3.2.5.

* gnu/packages/ccache.scm (ccache): Update to 3.2.5.
[native-inputs]: Add which.

7 years agognu: ldb: Update to 1.1.26.
Efraim Flashner [Sat, 9 Jul 2016 20:54:01 +0000 (23:54 +0300)]
gnu: ldb: Update to 1.1.26.

* gnu/packages/samba.scm (ldb): Update to 1.1.26.

7 years agognu: tevent: Update to 0.9.28.
Efraim Flashner [Sat, 9 Jul 2016 20:53:16 +0000 (23:53 +0300)]
gnu: tevent: Update to 0.9.28.

* gnu/packages/samba.scm (tevent): Update to 0.9.28.

7 years agognu: talloc: Update to 2.1.7.
Efraim Flashner [Sat, 9 Jul 2016 20:52:31 +0000 (23:52 +0300)]
gnu: talloc: Update to 2.1.7.

* gnu/packages/samba.scm (talloc): Update to 2.1.7.

7 years agognu: samba: Update to 4.3.11 [fixes CVE-2016-2119].
Efraim Flashner [Sat, 9 Jul 2016 20:46:49 +0000 (23:46 +0300)]
gnu: samba: Update to 4.3.11 [fixes CVE-2016-2119].

* gnu/packages/samba.scm (samba): Update to 4.3.11.

7 years agognu: dropbear: Update to 2016.73.
Leo Famulari [Sat, 9 Jul 2016 22:07:29 +0000 (18:07 -0400)]
gnu: dropbear: Update to 2016.73.

* gnu/packages/ssh.scm (dropbear): Update to 2016.73.

7 years agognu: Add python-jedi.
Danny Milosavljevic [Sat, 9 Jul 2016 12:48:32 +0000 (14:48 +0200)]
gnu: Add python-jedi.

* gnu/packages/python.scm (python-jedi, python2-jedi): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add python-dendropy.
Ben Woodcroft [Sat, 23 Apr 2016 03:38:43 +0000 (13:38 +1000)]
gnu: Add python-dendropy.

* gnu/packages/bioinformatics.scm (python-dendropy, python2-dendropy): New
variables.
* gnu/packages/patches/python-dendropy-exclude-failing-tests.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agognu: star: Restrict supported systems to 64-bit systems.
Ben Woodcroft [Fri, 8 Jul 2016 12:08:16 +0000 (22:08 +1000)]
gnu: star: Restrict supported systems to 64-bit systems.

* gnu/packages/bioinformatics.scm (star)[supported-systems]: Restrict to
x86_64-linux and mips64el-linux.

7 years agognu: rxvt-unicode: Update to 9.22.
Leo Famulari [Thu, 7 Jul 2016 07:15:42 +0000 (03:15 -0400)]
gnu: rxvt-unicode: Update to 9.22.

* gnu/packages/xdisorg.scm (rxvt-unicode): Update to 9.22.

7 years agoservices: nginx: Fix typo.
ng0 [Thu, 7 Jul 2016 18:57:05 +0000 (18:57 +0000)]
services: nginx: Fix typo.

* gnu/services/web.scm (nginx-service): Fix typo.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add di.
John J. Foerch [Sat, 2 Jul 2016 19:08:30 +0000 (15:08 -0400)]
gnu: Add di.

* gnu/packages/admin.scm (di): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: getmail: Update to 4.49.0.
Efraim Flashner [Thu, 7 Jul 2016 17:02:11 +0000 (20:02 +0300)]
gnu: getmail: Update to 4.49.0.

* gnu/packages/mail.scm (getmail): Update to 4.49.0.

7 years agognu: python-pyusb: Update to 1.0.0.
Efraim Flashner [Thu, 7 Jul 2016 16:59:25 +0000 (19:59 +0300)]
gnu: python-pyusb: Update to 1.0.0.

* gnu/packages/libusb.scm (python-pyusb): Update to 1.0.0.

7 years agognu: python-websocket-client: Update to 0.37.0.
Efraim Flashner [Thu, 7 Jul 2016 16:44:11 +0000 (19:44 +0300)]
gnu: python-websocket-client: Update to 0.37.0.

* gnu/packages/python.scm (python-websocket-client): Update to 0.37.0.
[source]: Use pypi uri format.

7 years agognu: ansible: Update to 2.1.0.0.
Efraim Flashner [Thu, 7 Jul 2016 15:59:28 +0000 (18:59 +0300)]
gnu: ansible: Update to 2.1.0.0.

* gnu/packages/admin.scm (ansible): Update to 2.1.0.0.
[source]: Use pypi format.

7 years agognu: python-psutil: Update to 4.3.0.
Efraim Flashner [Thu, 7 Jul 2016 14:37:02 +0000 (17:37 +0300)]
gnu: python-psutil: Update to 4.3.0.

* gnu/packages/python.scm (python-psutil): Update to 4.3.0.
[home-page]: Update home-page.

7 years agognu: bedtools: Update to 2.26.0.
Ben Woodcroft [Thu, 7 Jul 2016 13:27:19 +0000 (23:27 +1000)]
gnu: bedtools: Update to 2.26.0.

* gnu/packages/bioinformatics.scm (bedtools): Update to 2.26.0.

7 years agognu: diamond: Update to 0.8.11.
Ben Woodcroft [Thu, 7 Jul 2016 09:54:45 +0000 (17:54 +0800)]
gnu: diamond: Update to 0.8.11.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.11.

7 years agognu: quassel: Build with modular qt.
Efraim Flashner [Thu, 7 Jul 2016 09:22:38 +0000 (12:22 +0300)]
gnu: quassel: Build with modular qt.

* gnu/packages/irc.scm (quassel)[inputs]: Remove qt, add qtbase,
qttools, qtscript.
[arguments]: Disable webkit.