Commit Graph

13189 Commits

Author SHA1 Message Date
Leo Famulari 2d74d94b17 gnu: borg: Update to 1.0.6.
* gnu/packages/backup.scm (borg): Update to 1.0.6.
[source]: Use pypi-uri.
2016-07-15 12:20:29 -04:00
David Craven 71b0601a97
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>
2016-07-15 17:57:28 +02:00
David Craven 2102ae2e30
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>
2016-07-15 17:57:28 +02:00
Leo Famulari e538a245f3
gnu: diffoscope: Update to 54.
* gnu/packages/package-management.scm (diffoscope): Update to 54.
2016-07-15 11:40:02 -04:00
Tobias Geerinckx-Rice 7fb18f578a
gnu: Import (guix licenses) with #:prefix.
* gnu/packages/crypto.scm: Add 'license:' #:prefix for (guix licenses).

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 14:31:37 +02:00
Andreas Enge e05647add7
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>
2016-07-15 14:29:22 +02:00
Andreas Enge f0fbf2c11c
install: Add mdadm to the image.
* gnu/system/install.scm (installation-os)[packages]: Add mdadm.
2016-07-15 10:41:14 +02:00
Alex Vong 9ce2a95c30
gnu: racket: Update to 6.5.
* gnu/packages/scheme.scm (racket): Update to 6.5.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 10:31:02 +02:00
Leo Famulari f0344d9369
gnu: git: Update to 2.9.1.
* gnu/packages/version-control.scm (git): Update to 2.9.1.
(git-manpages)[source]: Update hash.
2016-07-14 16:58:55 -04:00
Leo Famulari a16db014d1
doc: Mention commit signatures in HACKING.
* HACKING: Mention commit signatures.
2016-07-14 15:37:51 -04:00
Ludovic Courtès babc2c80a7
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.
2016-07-14 19:07:07 +02:00
Ludovic Courtès db8f6b3412
challenge: Disable grafting.
* guix/scripts/challenge.scm (guix-challenge): Set %GRAFT? to #f.
2016-07-14 19:07:07 +02:00
Ludovic Courtès a7a3b39060
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.
2016-07-14 19:07:07 +02:00
Ricardo Wurmus 6619f9c769
gnu: Add eigensoft.
* gnu/packages/bioinformatics.scm (eigensoft): New variable.
2016-07-14 08:58:35 +02:00
Efraim Flashner 42d6d0d0d6
gnu: python-setuptools-scm: Update to 1.11.1.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.11.1.
2016-07-14 05:51:03 +03:00
Ludovic Courtès db97a03a89
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>
2016-07-13 23:51:17 +02:00
Ludovic Courtès 2d94702ff4
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".
2016-07-13 23:42:35 +02:00
Jan Nieuwenhuizen 4c7260011e
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>
2016-07-13 23:26:04 +02:00
Ludovic Courtès 66f8f5f9c3
gnu: screen: Remove unneeded configure flags.
* gnu/packages/screen.scm (screen)[arguments]: Remove --infodir and
--mandir, which are no longer needed.
2016-07-13 23:26:04 +02:00
George Clemmer a7e7981c7d
gnu: screen: Support 256 colors.
* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Mark H Weaver 7a7d6b2bde
gnu: linux-libre: Update to 4.6.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.4.
2016-07-12 22:09:08 -04:00
Mark H Weaver 8f1488c639
gnu: linux-libre-4.4: Update to 4.4.15.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.15.
2016-07-12 22:08:58 -04:00
Ludovic Courtès bfcb3d767b
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.
2016-07-13 00:50:05 +02:00
Ludovic Courtès cd4c41fdcf
download: Attempt to update SourceForge mirror URLs.
* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead
of "/sourceforge".  Remove a couple of dangling URLs.
2016-07-13 00:32:36 +02:00
Jan Nieuwenhuizen abba1d087e
gnu: Add gptfdisk.
* gnu/packages/disk.scm (gptfdisk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 00:32:21 +02:00
Ludovic Courtès bdff55eac3
gnu: emacs-flycheck: Add missing dependency on emacs-seq.
Fixes a regression introduced in
afb6fdaa5d.

* gnu/packages/emacs.scm (flycheck)[propagated-inputs]: Add EMACS-SEQ.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 1929fdba80
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès c1629416d8
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 66a35ceb43
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 9c14a487bb
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a769bffb65
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès e9b046fdda
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 99b231dee6
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a91c3fc727
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'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès fd12989398
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'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 2b4185792d
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès dd8d1a3046
gexp: Factorize load-path-setting expression.
* guix/gexp.scm (load-path-expression): New procedure.
(gexp->script): Use it.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 43dcce8674
linux-container: Fix list of imported modules.
This fixes a regression introduced in
958dd3ce68.

* gnu/system/linux-container.scm (container-script)[script]: Add (guix
combinators) to the list of imported modules.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 4ee96a7912
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 0bb9929eaa
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.
2016-07-12 22:47:08 +02:00
Ludovic Courtès affd7761f3
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.
2016-07-12 22:47:08 +02:00
Efraim Flashner 08858812b5
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.
2016-07-12 18:14:22 +03:00
Ricardo Wurmus 17dc32a400
gnu: Add Ribotaper.
* gnu/packages/bioinformatics.scm (ribotaper): New variable.
2016-07-12 12:19:39 +02:00
Ricardo Wurmus 9a8f309cf1
gnu: Add bedtools-2.18.
* gnu/packages/bioinformatics.scm (bedtools-2.18): New variable.
2016-07-12 12:19:15 +02:00
Efraim Flashner 34c553b07e
gnu: xscreensaver: Update to 5.35.
* gnu/packages/xdisorg.scm (xscreensaver): Update to 5.35.
2016-07-12 10:34:43 +03:00
Efraim Flashner 46cd684e2c
gnu: sxhkd: Update to 0.5.6.
* gnu/packages/xdisorg.scm (sxhkd): Update to 0.5.6.
2016-07-12 09:59:10 +03:00
Efraim Flashner 1f1e620f88
gnu: mtdev: Update to 1.1.5.
* gnu/packages/xdisorg.scm (mtdev): Update to 1.1.5.
2016-07-12 09:45:07 +03:00
Efraim Flashner af2b0b1507
gnu: libxkbcommon: Update to 0.6.1.
* gnu/packages/xdisorg.scm (libxkbcommon): Update to 0.6.1.
2016-07-12 09:34:24 +03:00
Efraim Flashner 16d8f9beb5
gnu: arandr: Update to 0.1.9.
* gnu/packages/xdisorg.scm (arandr): Update to 0.1.9.
2016-07-12 09:29:57 +03:00
Leo Famulari 6dc4d4655e
gnu: mpd: Update to 0.19.17.
* gnu/packages/mpd.scm (mpd): Update to 0.19.17.
2016-07-12 01:54:47 -04:00