Commit graph

33342 commits

Author SHA1 Message Date
Leo Famulari
6adc6b091e
gnu: GnuPG: Update to 2.2.9.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.9.
2018-07-12 11:11:10 -04:00
Danny Milosavljevic
ecba50bb79
import: hackage: Support "-any" and "-none" version comparison operators.
* guix/import/cabal.scm (make-cabal-parser): Modify.
(is-any): New variable.
(is-none): New variable.
(lex-any): New procedure.
(lex-none): New procedure.
(lex-word): Modify.
(eval-cabal): Modify.
2018-07-12 09:06:48 +02:00
Danny Milosavljevic
314b63e0b4
import: hackage: Support "custom-setup" field.
Fixes <https://bugs.gnu.org/23961>.

* guix/import/cabal.scm (make-cabal-parser): Modify.
(is-custom-setup): New variable.
(lex-custom-setup): New procedure.
(is-id): Modify.
(lex-version): Modify.
(<cabal-custom-setup>): New record type.
(eval-cabal): Modify.
(dependencies): Add parameter.
2018-07-12 09:06:48 +02:00
Jan Nieuwenhuizen
e8e1f295f1
gexp: Allow bytevector as content of `plain-file'.
This allows for using a package source directly from git, doing something like

    (define (command->bytevector command)
      (let ((port (apply open-pipe* OPEN_READ command)))
        (let ((output (get-bytevector-all port)))
          (close-port port)
          output)))

    (define-public hello-git
      (package
        (name "hello")
        (version "git")
        (source (let* ((commit "stable-2.0")
                       (content (command->bytevector
                                 `("git" "archive" "--format" "tar" "--prefix"
                                   ,(string-append commit "/") ,commit)))
                       (file-name (string-append "hello-" commit)))
                  (plain-file file-name content)))
        ...
        ))

* guix/gexp.scm (<plain-file>): Also allow bytevector content.
(plain-file-compiler): Handle bytevector content.
* doc/guix.texi (G-Expressions): Describe plain-file now also taking
bytevectors.
2018-07-12 06:22:04 +02:00
Jan Nieuwenhuizen
f3a422511f
store: Add `binary-file'.
* guix/store.scm (binary-file): New function.
* doc/guix.texi (The Store Monad): Describe binary-file.
2018-07-12 06:22:04 +02:00
Danny Milosavljevic
66413378e8
gnu: Add ghc-xdg-basedir.
* gnu/packages/haskell.scm (ghc-xdg-basedir): New variable.
2018-07-11 22:24:33 +02:00
Danny Milosavljevic
e73ed2a1ec
gnu: Add ghc-regex-tdfa-text.
* gnu/packages/haskell.scm (ghc-regex-tdfa-text): New variable.
2018-07-11 22:24:09 +02:00
Danny Milosavljevic
9e84a4d6a5
gnu: u-boot-tools: Simplify build.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Modify.
2018-07-11 22:23:26 +02:00
Danny Milosavljevic
10186ee2d3
gnu: u-boot-tools: Install "sunxi-spl-image-builder".
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Build sunxi-spl-image-builder.
(u-boot-tools)[arguments]<#:phases>[install]: Install sunxi-spl-image-builder.
2018-07-11 22:23:22 +02:00
Danny Milosavljevic
d1af9a8c22
gnu: make-u-boot-package: Return #t from "install" phase.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Return #t.
2018-07-11 22:23:04 +02:00
Efraim Flashner
1a80f1a9e3
gnu: msmtp: Update to 1.6.8.
* gnu/packages/mail.scm (msmtp): Update to 1.6.8.
[source]: Update to new source location.
[home-page]: Update to new home-page.
2018-07-11 22:08:55 +03:00
Efraim Flashner
fc83ca2b2f
gnu: btrfs-progs: Update home-page.
* gnu/packages/linux.scm (btrfs-progs)[home-page]: Update to redirected
home-page.
2018-07-11 22:04:12 +03:00
Ludovic Courtès
d1f90b9bfb
gnu: Add emacs-fold-dwim.
* gnu/packages/emacs.scm (emacs-fold-dwim): New variable.
2018-07-11 16:07:05 +02:00
Ludovic Courtès
36adbc4310
gnu: Add emacs-recent-addresses.
* gnu/packages/emacs.scm (emacs-recent-addresses): New variable.
2018-07-11 16:07:05 +02:00
Ludovic Courtès
daf76c7cd5
gnu-maintenance: Get GNU metadata from rec files.
Suggested by Mike Gerwitz <mtg@gnu.org>.

* guix/gnu-maintenance.scm (%package-list-url): Use the .rec file.
(%package-description-url): Likewise.
(official-gnu-packages)[read-records]: Skip record descriptors.
Rename fields to use underscores instead of hyphens.
2018-07-11 16:07:04 +02:00
Julian Graham
cd6ae1cee9
gnu: gzochi: Update to 0.12.
* gnu/packages/game-development.scm (gzochi): Update to 0.12.
2018-07-11 13:39:50 +03:00
Oleg Pykhalov
88388766f7
import: gem: Add recursive import.
* doc/guix.texi (Invoking guix import): Document gem recursive import.
* guix/import/gem.scm (gem->guix-package): Return package and dependencies
values.
(gem-recursive-import): New procedure.
* guix/scripts/import/gem.scm (show-help, %options): Add recursive option.
(guix-import-gem): Use 'gem-recursive-import'.
* tests/gem.scm (test-json): Rename to 'test-foo-json'.
("gem->guix-package"): Use 'test-foo-json'.
(test-bar-json, test-bundler-json): New variables.
("gem-recursive-import"): New test.
2018-07-11 07:08:54 +03:00
Danny Milosavljevic
a59b0fa2d7
build-system/haskell: Make phases fail on error.
* guix/build/haskell-build-system.scm (configure): Make it fail on error.
(run-setuphs): Make it fail on error.
2018-07-11 02:45:53 +02:00
Ludovic Courtès
57ac5261fe
build: Add missing patches to the distribution.
Reported by jonsger.

* gnu/local.mk (dist_patch_DATA): Add
perl-text-markdown-discount-unbundle.patch and
racket-fix-xform-issue.patch.
2018-07-11 00:59:14 +02:00
Ludovic Courtès
dc013aff81
ui: Fix typo.
* guix/ui.scm (display-profile-content-diff): Fix typo in docstring.
2018-07-11 00:53:04 +02:00
Ludovic Courtès
78d55b703d
profiles: Introduce 'profile-search-paths' and use it.
* guix/profiles.scm (profile-search-paths): New procedure.
* guix/scripts/environment.scm (evaluate-search-paths): Remove.
(create-environment): Replace 'paths' with 'manifest'.  Use
'profile-search-paths' instead of 'evaluate-search-paths'.
(show-search-paths): Likewise.
(launch-environment): Replace 'paths' with 'manifest'.  Make 'pure?' a
keyword parameter.
(launch-environment/fork, launch-environment/container): Likewise.
(guix-environment): Remove 'paths' variable.  Adjust callers of the
above procedures accordingly.
2018-07-11 00:52:36 +02:00
Ludovic Courtès
10f0a40c16
environment: Simplify code by using manifests internally.
* guix/scripts/environment.scm (strip-input-name)
(package+propagated-inputs, package-or-package+output?)
(compact): Remove.
(inputs->profile-derivation): Rename to...
(manifest->derivation): ... this.  Replace 'inputs' parameter with
'manifest'.
(input->manifest-entry): New procedure.
(package-environment-inputs): Rewrite to return a list of manifest
entries.
(options/resolve-packages): Rewrite to return a manifest.
(guix-environment): Remove 'inputs'.  Define 'paths' in terms of
'manifest-search-paths'.
2018-07-11 00:52:36 +02:00
Ludovic Courtès
f03df3ee75
profiles: Factorize 'manifest-search-paths'.
* guix/profiles.scm (manifest-search-paths): New procedure.
(profile-derivation)[builder]: Use it.
* guix/build/profiles.scm (build-etc/profile): Remove $PATH.
2018-07-11 00:52:36 +02:00
Danny Milosavljevic
1dec269176
gnu: fc-host-tools: Fix internal invocations.
* gnu/packages/embedded.scm (fc-host-tools)[arguments]<#:phases>
[patch-installation-paths]: Modify.
2018-07-10 21:39:10 +02:00
Danny Milosavljevic
469cc535f4
gnu: fc-host-tools: Update description.
* gnu/packages/embedded.scm (fc-host-tools)[description]: Modify.
2018-07-10 21:39:10 +02:00
Danny Milosavljevic
75767dab99
gnu: Add patches.
* gnu/local.mk (dist_patch_DATA): Add 'rust-bootstrap-stage0-test.patch',
'rust-coresimd-doctest.patch'.
2018-07-10 21:39:08 +02:00
Efraim Flashner
532126e92e
gnu: libyajl: Actually run test suite.
* gnu/packages/web.scm (libyajl)[arguments]: Patch shebang in test suite.
2018-07-10 22:16:51 +03:00
Vagrant Cascadian
336c4a4baa
gnu: u-boot: Update to 2018.07.
--=-=-=
Content-Type: text/plain

The attached patch updates u-boot to 2018.07, which required adding
native-inputs of "bison" and "flex".

live well,
  vagrant

From 74a9561ac07592a5ae15b723d0f2ac7fc05c463c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 10 Jul 2018 00:12:05 +0000
Subject: [PATCH] gnu: u-boot: Update to 2018.07.

* gnu/packages/bootloaders.scm (u-boot): Update to 2018.07.
  (u-boot)[native-inputs]: Add "bison" and "flex".
2018-07-10 15:10:32 +02:00
Nikolai Merinov
f510a2b93b
gnu: rust: Update to 1.27.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.26): ...this.
(rust): New variable.
* gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.
2018-07-10 15:09:25 +02:00
Nikolai Merinov
b47b2d3208
gnu: rust: Support build with glibc-2.27; update to 1.26.2.
* gnu/packages/rust.scm (rust-source): Add "patches" argument.
(rust-bootstrapped-package): Add "patches" argument.
(rust-1.19)[arguments]<#:phases>[patch-tests]: Modify.
[arguments]<#:phases>[patch-aarch64-test]: New phase.
[arguments]<#:phases>[use-readelf-for-tests]: New phase.
[arguments]<#:phases>[remove-unsupported-tests]: New phase.
(rust-1.23): Disable "run-pass/out-of-stack.rs" test.
(rust-1.24)[arguments]<#:phases>[patch-aarch64-test]: Replace.
(rust-1.25)[inputs]: Switch to LLVM 6.0.
(rust-1.25)[arguments]<#:phases>[enable-codegen-tests]: New variable.
(rust): New variable.
* gnu/packages/patches/rust-coresimd-doctest.patch: New file.
2018-07-10 15:09:22 +02:00
Marius Bakke
6094a65e27
gnu: lua: Update to 5.3.5.
* gnu/packages/lua.scm (lua): Update to 5.3.5.
2018-07-10 14:13:40 +02:00
Julien Lepiller
b24443bff9
guix: Add opam importer.
* guix/scripts/import.scm (importers): Add opam.
* guix/scripts/import/opam.scm: New file.
* guix/import/opam.scm: New file.
* tests/opam.scm: New file.
* Makefile.am: Add them.
* doc/guix.texi (Invoking guix import): Document it.
2018-07-10 10:11:01 +02:00
Rutger Helling
4f6afde9b4
gnu: wine-staging: Update to 3.12.
* gnu/packages/wine.scm (wine-staging): Update to 3.12.
2018-07-10 08:13:03 +02:00
Rutger Helling
cd4ed46376
gnu: wine-staging-patchset-data: Update to 3.12.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 3.12.
2018-07-10 08:13:03 +02:00
Marius Bakke
76c6bdc0fa
gnu: vte-ng: Update to 0.52.2.a.
* gnu/packages/gnome.scm (vte-ng): Update to 0.52.2.a.
[arguments]: Remove #:configure-flags.
2018-07-09 23:26:53 +02:00
Marius Bakke
e1d887fbb9
gnu: vte-ng: Use "invoke".
* gnu/packages/gnome.scm (vte-ng)[arguments]: Call INVOKE instead of SYSTEM*.
2018-07-09 23:23:40 +02:00
Marius Bakke
269a86bd7c
gnu: libgit2: Update to 0.26.5 [fixes CVE-2018-10887 and CVE-2018-10888].
* gnu/packages/version-control.scm (libgit2): Update to 0.26.5.
2018-07-09 23:20:08 +02:00
Alex Kost
a6dec13b5d
gnu: openmw: Update to a checkout version.
* gnu/packages/game-development.scm (openmw): Update to the latest
commit to fix the build.
2018-07-09 19:26:05 +03:00
Alex Kost
fc4f13bde8
gnu: openscenegraph: Update to 3.6.2.
* gnu/packages/graphics.scm (openscenegraph): Update to 3.6.2.
[source]: Use the new url and 'git-fetch' method.
[properties]: Add 'upstream-name'.
[native-inputs]: Add 'pkg-config'.
[inputs]: Add 'libxrandr'.
* gnu/packages/patches/openscenegraph-ffmpeg3.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-09 19:26:05 +03:00
Alex Kost
e311ef4f87
gnu: dunst: Add svg support.
* gnu/packages/dunst.scm (dunst)[inputs]: Use 'gdk-pixbuf+svg' instead
of 'gdk-pixbuf'.
2018-07-09 19:26:05 +03:00
Mathieu Lirzin
19db14caf7
gnu: Add emacs-tide.
* gnu/packges/emacs.scm (emacs-tide): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-09 17:02:08 +02:00
Mathieu Lirzin
0bb78bf950
gnu: Add emacs-typescript-mode.
* gnu/packges/emacs.scm (emacs-typescript-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-09 17:02:04 +02:00
Mathieu Lirzin
6c123c2666
gnu: Add emacs-nodejs-repl.
* gnu/packges/emacs.scm (emacs-nodejs-repl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-09 17:01:59 +02:00
Ludovic Courtès
af7914a1f1
doc: Use https://alpha.gnu.org instead of FTP.
* doc/guix.texi (Binary Installation)
(USB Stick and DVD Installation, Running GuixSD in a VM): Use
"https://alpha.gnu.org" instead of the now deprecated FTP URLs.
2018-07-09 16:49:19 +02:00
EuAndreh
cf0d926202
doc: Fix FTP link in documentation.
The current incorrect link at: https://www.gnu.org/software/guix/manual/en/guix.html#Running-GuixSD-in-a-VM.

I looked for other instances of this mistake in the docs, but I could't
find any.

* doc/guix.texi: fix link to GuixSD VM image in FTP server.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-09 16:49:16 +02:00
Ricardo Wurmus
9c2427abe7
doc: Fix syntax error and remove trailing whitespace.
This is a follow-up to commit a33652ee33.

* doc/guix.texi (Prometheus Node Exporter Service): Remove trailing whitespace
and change "defvr" to "defvar".
2018-07-09 13:30:32 +02:00
Ricardo Wurmus
ffe8d21490
gnu: macs: Update to 2.1.1.20160309.
* gnu/packages/bioinformatics.scm (macs): Update to 2.1.1.20160309.
2018-07-09 13:28:53 +02:00
Gábor Boskovits
a33652ee33
services: Add prometheus-node-exporter-service-type.
* gnu/services/monitoring.scm (prometheus-node-exporter-service-type):
New variable.
(<prometheus-node-exporter-configuration>): New record type.
(prometheus-node-exporter-shepherd-service): New procedure.
* gnu/doc/guix.texi (Monitoring Services): Document it.
* gnu/tests/monitoring.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add test module.
2018-07-09 10:39:06 +02:00
Mark H Weaver
80b66eb949
gnu: linux-libre: Update to 4.17.5.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.17.5.
(%linux-libre-hash): Update hash.
2018-07-08 20:43:19 -04:00
Mark H Weaver
61f961eed3
gnu: linux-libre@4.14: Update to 4.14.54.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.54.
(%linux-libre-4.14-hash): Update hash.
2018-07-08 20:42:11 -04:00