Commit Graph

29679 Commits

Author SHA1 Message Date
Ludovic Courtès 71e08fde28
glob: Add an extra glob pattern compilation stage.
* guix/glob.scm (compile-glob-pattern): Rename to...
(string->sglob): ... this.
(compile-sglob, string->compiled-sglob): New procedures.
(glob-match?): Replace '?, 'range, and 'set with a single clause.
* tests/glob.scm (test-compile-glob-pattern): Rename to...
(test-string->sglob): ... this.  Adjust accordingly.
(test-glob-match): Use 'string->compiled-sglob' instead of
'compile-glob-pattern'.
* gnu/build/linux-modules.scm (read-module-aliases): Use
'string->compiled-sglob' instead of 'compile-glob-pattern'.
2018-03-18 22:57:17 +01:00
Ludovic Courtès e914b398af
glob: Support square brackets in patterns.
* guix/glob.scm (wildcard-indices): Remove.
(parse-bracket): New procedure.
(compile-glob-pattern): Rewrite.  Support square brackets for sets and
ranges.
(glob-match?): Support sets and ranges.
* tests/glob.scm (test-compile-glob-pattern)
(test-glob-match): New macros.
Use them to rewrite the existing tests, and add new tests.
2018-03-18 22:35:36 +01:00
Ludovic Courtès 675e81a082
linux-modules: 'load-linux-module*' honors BLACK-LIST in recursive calls.
* gnu/build/linux-modules.scm (load-linux-module*): Pass BLACK-LIST in
recursive call.
2018-03-18 22:35:27 +01:00
Ludovic Courtès a57df67b59
linux-modules: Add 'current-kernel-directory'.
* gnu/build/linux-modules.scm (current-kernel-directory): New procedure.
(current-alias-file): Use it.
2018-03-18 22:35:03 +01:00
Ludovic Courtès 248db51c7e
vm: Display a backtrace upon error by default.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
 #:on-error to 'base-initrd'.
2018-03-18 22:34:40 +01:00
Ludovic Courtès 17cdd3d0fe
tests: elpa: Don't actually download files.
* tests/elpa.scm (eval-test-with-elpa): Mock 'url-fetch'.
2018-03-18 22:33:41 +01:00
Ludovic Courtès 9bb1838c3f
import: elpa: Return 'license:gpl3+ for ELPA only.
Fixes <https://bugs.gnu.org/30836>.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* guix/import/elpa.scm (elpa-package->sexp): Add LICENSE parameter and
honor it.
(elpa->guix-package): Pass 'license:gpl3+ only when REPO is 'gnu.
2018-03-18 22:26:34 +01:00
Ludovic Courtès e5425ed950
import: elpa: Adjust test for HTTPS URLs.
This is a followup to 44dd3d579d.

* tests/elpa.scm (eval-test-with-elpa): Use https.
2018-03-18 22:25:54 +01:00
Sohom Bhattacharjee 14f2105dc6
gnu: youtube-dl: Update to 2018.03.14.
* gnu/packages/video.scm (youtube-dl): Update to 2018.03.14.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-03-18 18:47:16 +01:00
Christopher Baines 72406062b9
gnu: shotwell: Update to 0.28.0.
* gnu/packages/gnome.scm (shotwell): Update to 0.28.0.
2018-03-18 10:35:23 +00:00
Ben Woodcroft e218b0c8b3
gnu: Add ruby-ruby-engine.
* gnu/packages/ruby.scm (ruby-ruby-engine): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 670ee20a57
gnu: Add ruby-rake.
* gnu/packages/ruby.scm (ruby-rake): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft d64ebebd8e
gnu: Add ruby-erubis.
* gnu/packages/ruby.scm (ruby-erubis): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft b88502c95c
gnu: Add ruby-sporkmonger-rack-mount.
* gnu/packages/ruby.scm (ruby-sporkmonger-rack-mount): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft c4550f7568
gnu: Add ruby-creole.
* gnu/packages/ruby.scm (ruby-creole): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 6ef8525607
gnu: Add ruby-contest.
* gnu/packages/ruby.scm (ruby-contest): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft a0a7e6903a
gnu: Add ruby-rack-protection.
* gnu/packages/ruby.scm (ruby-rack-protection): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 20a0f80414
gnu: Add ruby-rack-test.
* gnu/packages/ruby.scm (ruby-rack-test): New variable.
2018-03-18 10:23:51 +00:00
Ben Woodcroft 34138e42ba
gnu: Add ruby-asciidoctor.
* gnu/packages/ruby.scm (ruby-asciidoctor): New variable.
2018-03-18 10:23:51 +00:00
Ben Woodcroft 63e07468b3
gnu: Add ruby-asciimath.
* gnu/packages/maths.scm (ruby-asciimath): New variable.
2018-03-18 10:23:49 +00:00
Mark H Weaver cc4c8a576c
gnu: icecat: Fix CVE-2018-{5146,5147}, etc.
Includes fixes for CVE-2018-5146 and CVE-2018-5147.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from
the upstream mozilla-esr52 repository.
2018-03-17 21:44:23 -04:00
Christopher Baines be5ed14213
gnu: Add terraform-docs.
* gnu/packages/terraform.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2018-03-17 23:04:29 +00:00
Christopher Baines ed0c6a768e
gnu: Add go-github-com-hashicorp-hcl.
* gnu/packages/golang.scm (go-github-com-hashicorp-hcl): New variable.
2018-03-17 23:04:29 +00:00
Christopher Baines c4d2cffae7
gnu: Add go-github-com-tj-docopt.
* gnu/packages/golang.scm (go-github-com-tj-docopt): New variable.
2018-03-17 23:04:29 +00:00
Ludovic Courtès 95bd9f65a8
git: 'switch-to-ref' accepts short commit IDs.
Fixes <https://bugs.gnu.org/30716>.
Reported by Björn Höfling <bjoern.hoefling@bjoernhoefling.de>.

* guix/git.scm (switch-to-ref): When REF is a commit, check the length
of COMMIT and use 'object-lookup-prefix' if available.
2018-03-18 00:02:06 +01:00
Ludovic Courtès 44efe67ed0
gnu: guile-git: Update to 2bb9fbb.
* gnu/packages/guile.scm (guile-git): Update to 2bb9fbb.
2018-03-18 00:02:06 +01:00
Ludovic Courtès b34ac82482
gnu: nss-mdns: Adjust Avahi socket file name.
Fixes <https://bugs.gnu.org/30613>.
Regression introduced in 550f4509ac.
Reported by George myglc2 Clemmer <myglc2@gmail.com>.

* gnu/packages/avahi.scm (nss-mdns)[arguments]: Remove
 #:configure-flags.  Add #:phases.
2018-03-18 00:02:06 +01:00
Ludovic Courtès 80f565d313
gnu: datamash: Update to 1.3.
* gnu/packages/datamash.scm (datamash): Update to 1.3.
2018-03-18 00:02:06 +01:00
ng0 c217df913e
gnu: fvwm: Add '.desktop' file.
* gnu/packages/fvwm.scm (fvwm)[arguments]: Add new phase to create '.desktop' file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-18 00:02:05 +01:00
Konrad Hinsen 07d2fed2f6
import: elpa: Fix typos in documentation strings
* guix/import/elpa.scm: Fix typos in docstrings.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-18 00:02:05 +01:00
Konrad Hinsen 44dd3d579d
import: elpa: use https in download URLs
* guix/import/elpa.scm (elpa-url): Use HTTPS.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-18 00:02:05 +01:00
Martin Castillo 985934cb21
services: openssh: Add 'accepted-environment' field.
* gnu/services/ssh.scm (<openssh-configuration>)[accepted-environment]: New field.
(openssh-config-file): Honor 'acccepted-environment'.
* doc/guix.texi (Networking Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-18 00:02:05 +01:00
Gábor Boskovits 3c27414968
gnu: java-simple-xml: Fix java8 test failures.
* gnu/packages/patches/javas-simple-xml-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/java.scm (java-simple-xml)[source](patches): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-18 00:02:05 +01:00
Efraim Flashner 5983b78368
gnu: shaderc: Clean up package arguments.
* gnu/packages/vulkan.scm (shaderc)[version]: Remove extra '-'.
[arguments]: Remove extra 'mkdir-p' calls and refer to inputs directly.
2018-03-17 23:15:34 +02:00
Rutger Helling 308b17f676
Revert "gnu: shaderc: Use more standard keys."
This reverts commit 9bc0591bc1.
This commit broke 'shaderc'.
2018-03-17 21:59:27 +01:00
Christopher Baines fb6f35ba1d
gnu: Add python-prometheus-client.
* gnu/packages/monitoring.scm (python-prometheus-client,
python2-prometheus-client): New variables.
2018-03-17 20:44:50 +00:00
Christopher Baines 533808383f
services: databases: Change quote' to single-quote.
In the postgresql-config-file gexp compiler.

* gnu/services/databases.scm (postgresql-config-file-compiler): Change quote'
to single-quote.
2018-03-17 20:31:37 +00:00
Tobias Geerinckx-Rice 3def739da1
gnu: Use the CMake build system's #:build-type key.
* gnu/packages/code.scm (rtags)[arguments]: Move the CMAKE_BUILD_TYPE
from #:configure-flags to #:build-type.
* gnu/packages/databases.scm (apache-arrow)[arguments]: Likewise
* gnu/packages/engineering.scm (kicad)[arguments]: Likewise
* gnu/packages/flashing-tools.scm (heimdall)[arguments]: Likewise
* gnu/packages/graphics.scm (openscenegraph)[arguments]: Likewise
* gnu/packages/linux.scm (rdma-core)[arguments]: Likewise
* gnu/packages/music.scm (portmidi)[arguments]: Likewise
* gnu/packages/photo.scm (rawtherapee)[arguments]: Likewise
* gnu/packages/rdesktop.scm (freerdp)[arguments]: Likewise
* gnu/packages/serialization.scm (flatbuffers)[arguments]: Likewise
* gnu/packages/web.scm (tidy-html)[arguments]: Likewise
2018-03-17 16:37:28 +01:00
Tobias Geerinckx-Rice c695fb769c
gnu: Fix common unquote typos.
It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works).
Fix such typos for the proper edification of our young.

* gnu/packages/android.scm: Move unquotes to their operands.
* gnu/packages/bootloaders.scm: Likewise.
* gnu/packages/build-tools.scm: Likewise.
* gnu/packages/chemistry.scm: Likewise.
* gnu/packages/compression.scm: Likewise.
* gnu/packages/connman.scm: Likewise.
* gnu/packages/django.scm: Likewise.
* gnu/packages/emulators.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/file-systems.scm: Likewise.
* gnu/packages/freedesktop.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gimp.scm: Likewise.
* gnu/packages/gl.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/haskell.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/julia.scm: Likewise.
* gnu/packages/kde-frameworks.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/make-bootstrap.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/python-web.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/sml.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/text-editors.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/virtualization.scm: Likewise.
* gnu/packages/vulkan.scm: Likewise.
* gnu/packages/wget.scm: Likewise.
* gnu/packages/wine.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
2018-03-17 16:37:27 +01:00
Tobias Geerinckx-Rice 9bc0591bc1
gnu: shaderc: Use more standard keys.
* gnu/packages/vulkan.scm (shaderc)[arguments]: Move cmake options from
the raw INVOKE call to #:build-type and #:configure-flags.  Adjust the
‘configure’ phase accordingly.
2018-03-17 16:37:26 +01:00
Tobias Geerinckx-Rice 8696fbbad1
gnu: shaderc: Use standard versioning scheme.
* gnu/packages/vulkan.scm (shaderc)[version]: Use GIT-VERSION with a
‘0.0.0’ prefix.
2018-03-17 16:37:26 +01:00
Tobias Geerinckx-Rice 49c4c4de85
gnu: shaderc: Fix formatting.
* gnu/packages/vulkan.scm (shaderc): Use conventional indentation.
[native-inputs]: Move unquotes to their operands.
2018-03-17 16:37:25 +01:00
Tobias Geerinckx-Rice 36a17f056c
gnu: texlive-latex-type1cm: Fix description typo.
* gnu/packages/tex.scm (texlive-latex-type1cm)[description]: Fix typo.
2018-03-17 16:37:25 +01:00
Tobias Geerinckx-Rice f17f9984c3
gnu: python-pkginfo: Update to 1.4.2.
* gnu/packages/python.scm (python-pkginfo): Update to 1.4.2.
2018-03-17 16:37:25 +01:00
Tobias Geerinckx-Rice 4bd77a5dd0
gnu: python-nbformat: Update to 4.4.0.
* gnu/packages/python.scm (python-nbformat): Update to 4.4.0.
2018-03-17 16:37:24 +01:00
Tobias Geerinckx-Rice 40a1020240
gnu: python-simplejson: Update to 3.13.2.
* gnu/packages/python.scm (python-simplejson): Update to 3.13.2.
2018-03-17 16:37:24 +01:00
Tobias Geerinckx-Rice c8674cf5fe
gnu: python-ptyprocess: Update to 0.5.2.
* gnu/packages/python.scm (python-ptyprocess): Update to 0.5.2.
2018-03-17 16:37:24 +01:00
Tobias Geerinckx-Rice e83539e8cc
gnu: python-chai: Update to 1.1.2.
* gnu/packages/python.scm (python-chai): Update to 1.1.2.
2018-03-17 16:37:23 +01:00
Tobias Geerinckx-Rice c300630d55
gnu: python-jupyter-console: Update to 5.2.0.
* gnu/packages/python.scm (python-jupyter-console): Update to 5.2.0.
2018-03-17 16:37:23 +01:00
Tobias Geerinckx-Rice c7bb731af8
gnu: python-kazoo: Update to 2.4.0.
* gnu/packages/python.scm (python-kazoo): Update to 2.4.0.
2018-03-17 16:37:23 +01:00