Commit graph

19053 commits

Author SHA1 Message Date
Ludovic Courtès
517fce6327
gnu: Add guile2.2-reader.
* gnu/packages/guile.scm (guile2.2-reader): New variable.
2017-03-08 23:42:53 +01:00
Ludovic Courtès
77aa0887e1
gnu: guile-reader: Update to 0.6.2.
* gnu/packages/guile.scm (guile-reader): Update to 0.6.2.
[arguments]: Remove.
2017-03-08 23:42:53 +01:00
Ludovic Courtès
dd420bf343
tests: Avoid zero-expression 'begin' form.
* tests/cran.scm ("description->package"): Add body after the expected
pattern in 'match'.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
6f38960055
hash: Close or flush sha256 output ports before calling their 'get' procedure.
Slightly different buffering of custom binary output ports in Guile 2.1.7
would lead tests missing 'close-port' or 'force-output' to fail.

* tests/hash.scm ("open-sha256-port, hello"): Add call to 'force-output'
before call to 'get'.
* tests/nar.scm ("write-file puts file in C locale collation order"):
Call 'close-port' before calling 'get-hash'.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
19c1ac8d88
build: Unset 'NIX_BUILD_HOOK' when offloading support is missing.
* build-aux/pre-inst-env.in: Export 'NIX_BUILD_HOOK' only when
nix/scripts/offload is executable; unset it otherwise.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
1099988904
services: prosody: Use 'id' to introduce unhygienic top-level identifiers.
* gnu/services/messaging.scm (define-all-configurations): Use 'id' to
introduce raw/literal/unhygienic top-level identifiers.  Fixes
compilation with Guile 2.2.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
5d1ee4d7bc
services: prosody: Make sure 'id' is available at expansion time.
* gnu/services/messaging.scm (id): Use 'define-syntax-rule' instead of
'define' to make sure 'id' is available at expansion time.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
beb1e8067d
gnu: Remove unneeded imports.
* gnu/packages/backup.scm: Remove unneeded (guix build utils) import.
* gnu/packages/finance.scm: Likewise.
2017-03-08 23:42:52 +01:00
Ludovic Courtès
6aa9d63c92
guix archive: Allow compilation with Guile 2.2.
* guix/scripts/archive.scm (export-from-store): Avoid shadowing the
top-level '_'.
2017-03-08 23:42:52 +01:00
Maxim Cournoyer
6f5d28f9d0
gnu: inetutils: Enable tests.
* gnu/packages/admin.scm (inetutils)[arguments]: Remove '#:tests? #f'
and #:configure-flags.
[native-inputs]: Add net-tools.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-08 13:11:59 -05:00
Marius Bakke
b03ee02f0d
gnu: python-pandas: Fix build on 32-bit.
* gnu/packages/patches/python-pandas-skip-failing-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pandas, python2-pandas): Use it.
2017-03-08 18:04:23 +01:00
Marius Bakke
ce7911ddae
gnu: Add python-faker.
* gnu/packages/patches/python-fake-factory-fix-build-32bit.patch: Adjust
paths. Also rename to ...
* gnu/packages/patches/python-faker-fix-build-32bit.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python.scm (python-faker, python2-faker): New variables.
(python-fake-factory)[properties]: Superseded by PYTHON-FAKER.
(python2-fake-factory)[properties]: Superseded by PYTHON2-FAKER.
(python-orator, python2-orator)[propagated-inputs]: Replace
PYTHON-FAKE-FACTORY with PYTHON-FAKER.
2017-03-08 18:00:43 +01:00
Thomas Danckaert
1eaaea41e5
gnu: python-matplotlib-documentation: Fix build.
* gnu/packages/python.scm (python-matplotlib-documentation)[native-inputs]:
Add python-mock and graphviz.
[arguments]: Use separate build and install phases; correctly set latex paper size.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-08 17:39:00 +01:00
Marius Bakke
9c974c9366
gnu: iperf: Update to 3.1.7.
* gnu/packages/networking.scm (iperf): Update to 3.1.7.
2017-03-08 17:37:51 +01:00
Marius Bakke
3a38cf2dfd
gnu: libinput: Update to 1.6.3.
* gnu/packages/freedesktop.scm (libinput, libinput-minimal): Update to 1.6.3.
2017-03-08 17:18:11 +01:00
Ricardo Wurmus
beaa026aa7
gnu: r: Fix more reproducibility problems.
* gnu/packages/statistics.scm (r)[arguments]: Patch locations in the
build system that need special treatment for reproducibility.
2017-03-08 12:32:49 +01:00
Ricardo Wurmus
745c687be3
gnu: r: Fix syntax for INSTALL_OPTS.
This is a follow-up to commit 4621acfd82.

* gnu/packages/statistics.scm (r)[arguments]: Ensure that
"--built-timestamp" appears on the same line as the other INSTALL_OPTS.
2017-03-08 12:32:49 +01:00
Ludovic Courtès
6c5b56f9fa
gnu: bash: Use the bootstrap Guile in 'url-fetch/reset-patch-level'.
Fixes <http://bugs.gnu.org/25775>.
Reported by Sirgazil, Ricardo Wurmus, Andy Wingo, and others.

* guix/download.scm (in-band-download): Always use GUILE.  This reverts
9f05908fb1.
* gnu/packages/bash.scm (url-fetch/reset-patch-level): Remove #:guile.
Pass %BOOTSTRAP-GUILE as #:guile to 'url-fetch'.  Remove #:guile-for-build
argument in 'gexp->derivation' call.
2017-03-07 23:58:08 +01:00
Thomas Danckaert
faa65e2735
gnu: kdevelop: Upgrade to 5.0.4.
* gnu/packages/kde.scm (kdevelop, kdevplatform): Upgrade to 5.0.4.
(kdevplatform)[source]: Use kde mirror instead of github.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-07 23:21:59 +01:00
Marius Bakke
9bb766e70d
gnu: pcre2: Update to 10.23.
* gnu/packages/pcre.scm (pcre2): Update to 10.23.
[source]: Remove patch.
[arguments]: Add phase to substitute /bin/echo reference.
* gnu/packages/patches/pcre2-CVE-2016-3191.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-03-07 23:21:22 +01:00
Leo Famulari
3391e2a078
gnu: khal: Update to 0.9.3.
* gnu/packages/calendar.scm (khal): Update to 0.9.3.
[native-inputs]: Use python-pytest-2.9.2.
2017-03-07 16:37:21 -05:00
Leo Famulari
f11275c9e5
gnu: gnupg: Update to 2.1.19.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.19.
[arguments]: Add 'patch-test-paths' phase and remove 'set-gnupg-home' phase.
Add '--enable-gnupg-builddir-envvar' to #:configure-flags.
[source]: Add 'gnupg-2.1-fix-Y2038-test-failure.patch'.
* gnu/packages/patches/gnupg-2.1-fix-Y2038-test-failure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-03-07 16:37:17 -05:00
Ricardo Wurmus
c1029f86e3
gnu: Add emacs-yasnippet.
* gnu/packages/emacs.scm (emacs-yasnippet): New variable.
2017-03-07 19:44:49 +01:00
Sergei Trofimovich
605fec783f
gnu: Add basic support for "alpha-linux" systems.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add
"/lib/ld-linux.so.2" as "alpha-linux" ld.so.
* gnu/packages/linux.scm (system->linux-architecture): Add "alpha" arch.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-07 18:20:33 +01:00
Pjotr Prins
d6abd094fc
gnu: python-rpy2: Propagate python2-singledispatch.
* gnu/packages/python.scm (python-rp2)[native-inputs]: Rename to...
[propagated-inputs]: ... this.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-07 18:19:51 +01:00
Ricardo Wurmus
9296684713
gnu: java-xz: Update to 1.6.
* gnu/packages/java.scm (java-xz): Update to 1.6.
2017-03-07 17:27:30 +01:00
Maxim Cournoyer
af12687522
gnu: guile-lib: Update to 0.2.5
The build was broken since the URL of version 0.2.3 was changed. The archive
was moved into an "old" subdirectory of the original location.

* gnu/packages/guile.scm (guile-lib): Update to 0.2.5.
[make-flags]: Add GUILE_AUTO_COMPILE to prevent guild errors.
[phases]: Remove 'check replacement since it is no longer needed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-07 16:44:02 +01:00
Nicolas Goaziou
eaa72e3a11
gnu: asymptote: Update to 2.40.
* gnu/packages/plotutils.scm (asymptote): Update to 2.40.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-03-07 20:02:04 +08:00
宋文武
c402743579
gnu: Add blind.
* gnu/packages/suckless.scm (blind): New package.
2017-03-07 19:41:23 +08:00
Mekeor Melire
45321beb7d
gnu: surf: Add 'dmenu' and 'xprop' to 'inputs'.
'dmenu' and 'xprop' are necessary to open a new URL in surf.

* gnu/packages/suckless.scm (surf)[inputs]: Add dmenu and xprop.
[arguments]: Add 'set-dmenu-and-xprop-file-name' phase to patch the
paths to the 'dmenu' and 'xprop' binaries in surf's configuration file.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-03-07 00:29:14 -05:00
David Craven
909de139e7
vm: Fix full-boot? option.
* gnu/system/vm.scm (virtualized-operating-system): Add full-boot?
  option. Don't add a %store-mapping when full-boot? is passed. This leads
  the grub-configuration-file procedure to look for the kernel and initrd in
  / instead of /gnu/store.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-06 23:54:48 +01:00
Ludovic Courtès
ecc4324fef
system: grub: Add missing URL in comment.
* gnu/system/grub.scm (grub-root-search): Add missing URL in comment.
2017-03-06 23:54:48 +01:00
Thomas Danckaert
ba062b3ec4
gnu: python-colorspacious: Run tests.
* gnu/packages/python.scm (python-colorspacious,
python2-colorspacious)[native-inputs]: Add python-nose.
[arguments]: Add custom 'check phase which runs nosetests.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 23:51:23 +01:00
Marius Bakke
46d6219d41
gnu: rofi: Fix test failure.
* gnu/packages/xdisorg.scm (rofi)[arguments]: Disable parallel tests.
2017-03-06 23:38:48 +01:00
Thomas Danckaert
5eefa50abd
gnu: Remove python-sphinx-1.2.3.
* gnu/packages/python.scm (python-sphinx-1.2.3, python2-sphinx-1.2.3): Remove variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 23:28:10 +01:00
Marius Bakke
6cb7477699
gnu: python-statsmodels: Update to 0.8.0.
* gnu/packages/statistics.scm (python-statsmodels, python2-statsmodels):
Update to 0.8.0.
[source]: Use 'pypi-uri'.
[arguments]: Add more files to matplotlib backend substitution.
* gnu/packages/patches/python-statsmodels-fix-tests.patch: Drop test that
fails with numpy 1.12. Remove previous contents.
2017-03-06 23:24:11 +01:00
Marius Bakke
8e08604814
gnu: python-pandas: Update to 0.19.2.
* gnu/packages/python.scm (python-pandas, python2-pandas): Update to 0.19.2.
[source]: Use 'pypi-uri'.
2017-03-06 23:24:03 +01:00
Thomas Danckaert
4535a93adb
gnu: python-matplotlib: Update to 2.0.0.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Update to
2.0.0.
[source]: Remove Tk backend patch, use Github instead of Sourceforge.
[outputs]: Remove "doc" output.
[inputs]: Add python-pyqt.
[propagated-inputs]: Add python-cycler.
[native-inputs]: Remove python-sphinx, python-numpydoc, texlive and texinfo.
(python2-matplotlib)[native-inputs]: Add python2-functools32 and
python2-subprocess32.
(python-matplotlib-documentation, python2-matplotlib-documentation): New
variables.
* gnu/packages/patches/matplotlib-setupext-tk.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 23:22:22 +01:00
Marius Bakke
550bd98b41
gnu: Add python2-subprocess32.
* gnu/packages/python.scm (python2-subprocess32): New variable.
* gnu/packages/patches/python2-subprocess32-disable-input-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-03-06 23:21:34 +01:00
Thomas Danckaert
7ccb71e0ea
gnu: python-numpy: Update to 1.12.0.
* gnu/packages/python.scm (python-numpy): Update to 1.12.0.
  [source]: Use github instead of sourceforge.
  [native-inputs]: Add python-cython.

  To simplify the handling of dependency cycles (numpy documentation depends
  on matplotlib, which depends on numpy), we split out the documentation into
  a separate package:
  (python-numpy-bootstrap, python2-numpy-bootstrap): Remove variables.
  (python-numpy-documentation, python2-numpy-documentation): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 23:21:06 +01:00
Leo Famulari
14807141e5
Revert "gnu: gnupg: Update to 2.1.19."
This reverts commit 07302d1ab4.

GnuPG 2.1.19 fails to build on armhf-linux and i686-linux:

<https://bugs.gnupg.org/gnupg/issue2988>
2017-03-06 17:11:19 -05:00
Leo Famulari
e20784e65e
gnu: texlive: Fix CVE-2016-10243.
* gnu/packages/patches/texlive-texmf-CVE-2016-10243.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tex.scm (texlive-texmf-src): Use it.
2017-03-06 16:47:37 -05:00
Leo Famulari
e2948ef5c1
gnu: libressl: Update to 2.5.1.
* gnu/packages/tls.scm (libressl): Update to 2.5.1.
2017-03-06 16:31:29 -05:00
Leo Famulari
23f22ba8af
services: openssh: Parameterize the OpenSSH package used by the service.
* gnu/services/ssh.scm (<openssh-configuration>)[openssh]: New field.
(openssh-activation, openssh-shepherd-service): Use it.
2017-03-06 13:39:29 -05:00
Leo Famulari
613d0895b9
build: Don't embed absolute paths in .service and .conf service files.
Otherwise, users will be stuck running an old copy of guix and the guix-daemon
if they copy the service files instead of symlinking them.

* etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/guix-publish.conf.in,
etc/guix-publish.service.in: Expand @localstatedir@ instead of @bindir@.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use @localstatedir@
instead of @bindir@.
2017-03-06 13:25:51 -05:00
Leo Famulari
b812da7059
Revert "doc: Symlink daemon start-up files."
This reverts commit b7230de54b.

Versions of systemd that supported symlinked service files are not yet widely
deployed.

See this thread for more information:
http://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html
2017-03-06 13:25:47 -05:00
Nicolas Goaziou
5f8ca95eb5
gnu: giac-xcas: Update to 1.2.3-25.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.3-25.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 14:49:58 +01:00
Troy Sankey
5b1f31ffcf
gnu: python-setuptools-scm: Update to 1.15.0.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.15.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-06 13:55:37 +01:00
Marius Bakke
c0446791bd
gnu: python2-backports-shutil-get-terminal-size: Enable tests.
* gnu/packages/python.scm
(python2-backports-shutil-get-terminal-size)[arguments]: Replace 'check' phase
with custom command.
[native-inputs]: Add PYTHON2-PYTEST.
2017-03-06 13:22:51 +01:00
Ricardo Wurmus
d701f8bdb2
gnu: libosinfo: Update to 1.0.0.
* gnu/packages/qemu.scm (libosinfo): Update to 1.0.0.
[source]: Use new release location as fedorahosted.org is defunct.
[arguments]: Replace phase "copy-ids" with configure flags; add phase
"disable-broken-test" to disable the "isodetect" test.
[native-inputs]: Update origin for "pci.ids" and "usb.ids".
2017-03-06 13:04:26 +01:00