Commit Graph

37948 Commits

Author SHA1 Message Date
Julien Lepiller cce654fabd
import: Update opam importer.
* guix/import/opam.scm: Update importer for opam 2.
* tests/opam.scm: Update tests for the opam 2 importer.
2018-12-17 21:43:51 +01:00
Julien Lepiller 2a6ba9ff61
gnu: opam: Fix package installation.
Opam builds packages in an isolated environment, but packages still
assume they can access system tools like a compiler, make, etc... Mount
/gnu and /run/current-system so these tools are also available to opam
packages on GuixSD.

* gnu/packages/ocaml.scm (opam)[arguments]: Fix bwrap.sh to also mount
the store and the system profile in the opam environment.
2018-12-17 21:30:46 +01:00
Oleg Pykhalov f2f956010c
gnu: zabbix-agentd: Update to 4.0.2.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 4.0.2.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov 85c07cff9c
services: monitoring: Add 'zabbix-front-end'.
* gnu/services/monitoring.scm (nginx-server-configuration-list?,
serialize-nginx-server-configuration-list, zabbix-front-end-configuration,
zabbix-front-end-config, zabbix-front-end-activation,
generate-zabbix-front-end-documentation): New procedures.
(%zabbix-front-end-configuration-nginx, %maintenance.inc.php,
zabbix-front-end-service-type): New variables.
* doc/guix.texi (Monitoring Services): Document this.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov 1a3e7534d0
gnu: Add php-with-bcmath.
* gnu/packages/php.scm (php-with-bcmath): New variable.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov e517161d6b
services: php-fpm: Add 'timezone' configuration.
* gnu/services/web.scm: (<php-fpm-configuration>)[timezone]: New record field.
(default-php-fpm-config, php-fpm-shepherd-service, php-fpm-activation): Use
this.
* doc/guix.texi (Web Services): Document this.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 6106d7cae4
services: monitoring: Add 'zabbix-agent'.
* gnu/services/monitoring.scm (zabbix-server-service-type,
zabbix-agent-account, zabbix-agent-activation, zabbix-agent-config-file,
zabbix-agent-shepherd-service, generate-zabbix-agent-documentation): New
procedures.
(zabbix-agent-service-type): New 'service-type'.
* gnu/tests/monitoring.scm (run-zabbix-server-test): Test 'zabbix-agent'.
(%zabbix-os): Add 'zabbix-agent' service.
* doc/guix.texi (Monitoring Services): Document 'zabbix-agent'.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 6b1c4179e2
services: monitoring: Add 'zabbix-server'.
* gnu/services/monitoring.scm (uglify-field-name, serialize-field,
serialize-number, serialize-list, serialize-string, group?, serialize-group,
include-files?, serialize-include-files, zabbix-server-account,
zabbix-server-config-file, zabbix-server-activation,
zabbix-server-shepherd-service, generate-zabbix-server-documentation,
extra-options, serialize-extra-options): New procedures.
(zabbix-server-service-type): New variable.
* gnu/tests/monitoring.scm (%psql-user-create-zabbix,
%psql-db-zabbix-create-script, %psql-db-create-zabbix, %psql-db-import-zabbix,
%zabbix-os, %test-zabbix): New variables.
(run-zabbix-server-test): New procedure.
* doc/guix.texi (Monitoring Services): Document 'zabbix-server'.

squash! services: monitoring: Add 'zabbix-server'.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 2c9ac8392a
gnu: zabbix-server: Split output.
* gnu/packages/monitoring.scm (zabbix-server)[outputs]: Add 'front-end' and
'schema' outputs.
2018-12-17 22:09:10 +03:00
Rutger Helling a7ad051d8a
gnu: wget: Update to 1.20.
* gnu/packages/wget.scm (wget): Update to 1.20.
2018-12-17 16:18:35 +01:00
Efraim Flashner 1e2ebf7ca4
gnu: tree: Update to 1.8.0.
* gnu/packages/admin.scm (tree): Update to 1.8.0.
2018-12-17 12:08:06 +02:00
Efraim Flashner 5c0b6d1b1d
gnu: elemental: Don't use unstable tarball.
* gnu/packages/maths.scm (elemental)[source]: Download source using
git-fetch.
2018-12-17 12:08:06 +02:00
Efraim Flashner 3b42e2be92
gnu: elemental: Fix indentation.
* gnu/packages/maths.scm (elemental): Fix indentation of the package
definition.
2018-12-17 12:08:06 +02:00
Efraim Flashner ad6c6a5be5
gnu: z3: Fix building on non-Intel machines.
* gnu/packages/maths.scm (z3)[arguments]: Add phase to remove
unnecessary include statement.
2018-12-17 12:08:06 +02:00
Efraim Flashner 2d7b99b3c6
gnu: z3: Declare source-file-name.
* gnu/packages/maths.scm (z3)[source]: Add missing 'file-name.
2018-12-17 12:08:05 +02:00
Efraim Flashner 917f5ee75c
gnu: kicad: Don't hardcode version numbers.
* gnu/packages/engineering.scm (kicad)[source]: Replace hardcoded
version number with parameterized one.
[arguments]: Same.
2018-12-17 12:08:05 +02:00
Efraim Flashner 4ae16f9c4e
gnu: avogadro: Don't hardcode python version.
* gnu/packages/chemistry.scm (avogadro)[arguments]: Replace hardcoded
python version with parametrized one.
2018-12-17 12:08:05 +02:00
Efraim Flashner 2f3977b9a7
gnu: gess: Don't hardcode python version.
* gnu/packages/bioinformatics.scm (gess)[arguments]: Replace hardcoded
python version with parameterized one.
2018-12-17 12:08:05 +02:00
Efraim Flashner cc729d257c
gnu: nmap: Don't hardcode python version.
* gnu/packages/admin.scm (nmap)[arguments]: Replace hardcoded python
version with parameterized one.
2018-12-17 12:08:01 +02:00
Rutger Helling f8be7664cb
gnu: virt-manager: Update to 2.0.0.
* gnu/packages/virtualization.scm (virt-manager): Update to 2.0.0.
[arguments]: Don't build with Python 2.
[inputs]: Replace Python 2 inputs with Python 3 versions.
2018-12-17 10:58:42 +01:00
Arun Isaac 6845fdc710
gnu: ansible: Update to 2.7.5.
* gnu/packages/admin.scm (ansible): Update to 2.7.5.
2018-12-17 15:12:15 +05:30
Nicolas Goaziou 4b4ccb45fa
gnu: mame: Update to 0.204.
* gnu/packages/emulators.scm (mame): Update to 0.204.
[arguments]: Add phase to fix compilation error.
2018-12-16 23:51:31 +01:00
Leo Famulari 2119cd3a35
gnu: Go 1.11: Update to 1.11.4 [fixes CVE-2018-{16873,16874}].
* gnu/packages/golang.scm (go-1.11): Update to 1.11.4.
2018-12-16 16:24:12 -05:00
Rutger Helling 6da907193b
gnu: lookingglass: Update to a12.
* gnu/packages/virtualization.scm (lookingglass): Update to a12.
[build-system]: Use cmake-build-system.
[arguments]: Add 'chdir-to-client phase.
2018-12-16 22:18:15 +01:00
Jan Nieuwenhuizen 504d9fcb85
gnu: mes: Update to 0.19.
* gnu/packages/mes.scm (mes): Update to 0.19.
2018-12-16 19:58:31 +01:00
Arun Isaac 7101196448
gnu: emacs-tracking: Enable tests.
* gnu/packages/emacs.scm (emacs-tracking)[arguments]: Append to arguments
inherited from emacs-circe, instead of overwriting them.
2018-12-16 23:56:07 +05:30
Arun Isaac 665f459118
gnu: emacs-circe: Enable tests.
* gnu/packages/emacs.scm (emacs-circe)[arguments]: Enable tests. Set
test-command. Add set-home phase.
[native-inputs]: Add emacs-buttercup.
2018-12-16 23:56:07 +05:30
Arun Isaac 04eb2645bd
gnu: Add emacs-buttercup.
* gnu/packages/emacs.scm (emacs-buttercup): New variable.
2018-12-16 23:55:59 +05:30
Pierre Neidhardt 2c742a06c8
gnu: Add trivial-clipboard.
* gnu/packages/lisp.scm (cl-trivial-clipboard, ecl-trivial-clipboard,
  sbcl-trivial-clipboard): New variables.
2018-12-16 16:39:48 +01:00
Pierre Langlois ba9ba64d93
gnu: stumpwm: Update to 18.11.
* gnu/packages/lisp.scm (stumpwm): Update to 18.11.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-16 16:28:07 +01:00
Pierre Langlois 1075623a5c
gnu: Add sbcl-fiasco.
* gnu/packages/lisp.scm (sbcl-fiasco, cl-fiasco, ecl-fiasco): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-16 16:28:07 +01:00
Ludovic Courtès ee8ee74820
gnu: guile: Do not warn about 'madvise' ENOSYS on GNU/Hurd.
* gnu/packages/guile.scm (guile-2.2)[arguments]: When 'hurd-target?'
returns true, add 'allow-madvise-ENOSYS' phase.
2018-12-16 16:28:07 +01:00
Ludovic Courtès 92391eaf8d
gnu: glibc: Add patch implementing "pid/…" magic lookup on the Hurd.
This patch is missing from glibc 2.28 and is needed to support
/proc/self lookup when using the Hurd's procfs, which in turn is needed
for our 'guile-relocatable.patch'.

See <https://lists.gnu.org/archive/html/bug-hurd/2018-12/msg00024.html>.

* gnu/packages/patches/glibc-hurd-magic-pid.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[arguments]: Add 'apply-hurd-patch'
phase.
[native-inputs]: Add "hurd-magic-pid-patch" input.
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Duplicate
'apply-hurd-patch' phase.
2018-12-16 16:28:07 +01:00
Ludovic Courtès 8327e73396
daemon: Use unbranded phrases in comments and messages.
* nix/libstore/build.cc, nix/libstore/globals.cc,
nix/libstore/gc.cc, nix/libstore/local-store.cc,
nix/libstore/optimise-store.cc, nix/libstore/store-api.cc,
nix/libutil/archive.cc, nix/nix-daemon/nix-daemon.cc: Replace "Nix
store" by "store", and "Nix daemon" by "build daemon".
2018-12-16 16:28:07 +01:00
Efraim Flashner 938078a34d
gnu: mail.scm: Sort module imports alphabetically.
* gnu/packages/mail.scm: Sort module imports alphabetically.
2018-12-16 15:42:05 +02:00
Efraim Flashner 224b1c833d
gnu: khard: Update to 0.12.2.
* gnu/packages/mail.scm (khard): Update to 0.12.2.
[propagated-inputs]: Add python-ruamel.yaml, python-unidecode. Sort
alphabetically.
2018-12-16 15:38:56 +02:00
Efraim Flashner 7d6cfa4425
gnu: mit-scheme: Match all systems in "source" input.
This fixes a regression from d870cc5e8a.

* gnu/packages/scheme.scm (mit-scheme)[inputs]: Add the catch-all case
for the "source" input.
2018-12-16 15:04:28 +02:00
Efraim Flashner d7571ff52f
gnu: urlscan: Update to 0.9.1.
* gnu/packages/mail.scm (urlscan): Update to 0.9.1.
2018-12-16 12:48:58 +02:00
Vagrant Cascadian 04e46b988a
gnu: arm-trusted-firmware-sun50i-a64: Update to 2.0-2.98aab97.
* gnu/packages/firmware (arm-trusted-firmware-sun50i-a64): Update to
  2.0-2.98aab97.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2018-12-16 12:00:06 +02:00
Vagrant Cascadian 9f23f6bc2f
gnu: python-pyelftools: Fix tests with python 3.7.
* gnu/packages/python.scm (python-pyelftools)
  [native-inputs]: Remove python-setuptools.
  [arguments]: Add set-pythonpath phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2018-12-16 11:55:13 +02:00
Efraim Flashner 978154aee5
gnu: gcl: Build with standard gcc.
* gnu/packages/lisp.scm (gcl)[native-inputs]: Remove gcc@4.9.
2018-12-16 09:39:34 +02:00
Efraim Flashner f5d4c46c2c
gnu: flatbuffers: Set source file name.
* gnu/packages/serialization.scm (flatbuffers)[source]: Add missing
'file-name field.
2018-12-15 22:23:30 +02:00
Leo Famulari edc6dd0324
gnu: Singularity: Update to 2.6.1 [fixes CVE-2018-19295].
Our Singularity package is not vulnerable to CVE-2018-19295 by default,
becuase that vulnerability is based on the 'mount', 'start', and
'action' Singularity binaries being installed setuid, which we do not do
in Guix.

* gnu/packages/linux.scm (singularity): Update to 2.6.1.
2018-12-15 14:37:24 -05:00
Pierre Neidhardt 0afeb7468c
doc: Replace @command by @code for packages
* doc/contributing.texi (Submitting Patches): Replace @command by @code for
  packages.
2018-12-15 19:21:08 +01:00
Feng Shu da19696ec6
gnu: emacs-switch-window: Update to 1.6.2.
* gnu/packages/emacs.scm (emacs-switch-window): Update to 1.6.2.
[source]: Use git-fetch.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-12-15 11:52:35 +05:30
Feng Shu 1827e8db93
gnu: emacs-pyim: Update to 1.8.
* gnu/packages/emacs.scm (emacs-pyim): Update to 1.8.
[source]: Use git-fetch.
[propagated-inputs]: Remove emacs-pos-tip. Add emacs-posframe.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-12-15 11:52:35 +05:30
Feng Shu 4803ce1d6c
gnu: Add emacs-posframe.
* gnu/packages/emacs.scm (emacs-posframe): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-12-15 11:52:35 +05:30
Feng Shu 0a2872eeaa
gnu: emacs-exwm-x: Update to 1.9.0.
* gnu/packages/emacs.scm (emacs-exwm-x): Update to 1.9.0.
[source]: Use git-fetch.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-12-15 11:52:21 +05:30
Pierre Neidhardt 024e358cb9
doc: Merge "discourage use of texlive" with existing paragraph on "guix size"
* doc/contributing.texi (Submitting Patches): Merge "discourage use of
  texlive" with existing paragraph on "guix size".
2018-12-15 00:20:35 +01:00
Ludovic Courtès 966629a114
gnu: mit-scheme: Match all the system types in 'inputs'.
Fixes a regression introduced in
d870cc5e8a whereby "guix package -A" on
one of the non-x86 systems would crash.

* gnu/packages/scheme.scm (mit-scheme)[inputs]: Reintroduce catch-all
case.
2018-12-14 23:55:55 +01:00