Commit Graph

33590 Commits (e4752118691e41ae8307649d1abfd4739b3e4bfa)

Author SHA1 Message Date
Ludovic Courtès 701383081a
services: shepherd: Support custom actions.
* gnu/services/shepherd.scm (<shepherd-service>)[actions]: New field.
(<shepherd-action>): New record type.
(shepherd-service-file): Pass #:actions to 'make'.
* doc/guix.texi (Shepherd Services): Document custom actions.
2018-07-13 00:08:54 +02:00
Jelle Licht 814bb81668
gnu: emacs-helm-bibtex: Add emacs-ivy to inputs.
* gnu/packages/emacs.scm (emacs-helm-bibtex)[inputs]: Add emacs-ivy.
2018-07-12 21:34:25 +02:00
Jelle Licht 161fbe4a3d
gnu: emacs-biblio: Add emacs-dash to inputs.
* gnu/packages/emacs.scm (emacs-biblio)[inputs]: Add emacs-dash.
2018-07-12 21:34:13 +02:00
Danny Milosavljevic e39a44f340
import: hackage: Evaluate "-any" and "-none" version comparison operators.
* guix/import/cabal.scm (eval-cabal): Modify.
* tests/hackage.scm (test-cabal-4): New variable and test.
(test-cabal-5): New variable and test.
(test-cabal-6): New variable and test.
2018-07-12 20:35:04 +02:00
Leo Famulari fd115bee31
gnu: Syncthing: Fix a crash bug.
* gnu/packages/patches/syncthing-fix-crash.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/syncthing.scm (syncthing)[source]: Use it.
2018-07-12 14:17:07 -04:00
Arun Isaac e81c952a4d
gnu: Add quaternion.
* gnu/packages/messaging.scm (quaternion): New variable.
2018-07-12 23:20:03 +05:30
Arun Isaac 9a3da9859b
gnu: Add libqmatrixclient.
* gnu/packages/messaging.scm (libqmatrixclient): New variable.
2018-07-12 23:19:57 +05:30
Marius Bakke f42846b2ea
gnu: psmisc: Update to 23.1.
* gnu/packages/linux.scm (psmisc): Update to 23.1.
[source](uri): Use XZ-compressed tarball.
2018-07-12 17:21:17 +02:00
Marius Bakke 8801d7fc72
gnu: unbound: Update to 1.7.3.
* gnu/packages/dns.scm (unbound): Update to 1.7.3.
2018-07-12 17:21:17 +02:00
Marius Bakke d5019f9ca7
gnu: php: Build with an older oniguruma.
* gnu/packages/textutils.scm (oniguruma-5): New public variable.
* gnu/packages/php.scm (php)[inputs]: Change ONIGURUMA to ONIGURUMA-5.
2018-07-12 17:21:17 +02:00
Marius Bakke fa25b268dc
gnu: iso-codes: Update home page.
* gnu/packages/iso-codes.scm (iso-codes)[home-page]: Change to salsa.debian.org.
2018-07-12 17:21:17 +02:00
Marius Bakke 483374378b
gnu: oniguruma: Update to 6.8.2.
* gnu/packages/textutils.scm (oniguruma): Update to 6.8.2.
2018-07-12 17:21:17 +02:00
Marius Bakke 6f6f9ef0ce
gnu: lsof: Return #t from all phases.
* gnu/packages/lsof.scm (lsof)[arguments]: Return #t from phases.
2018-07-12 17:21:16 +02:00
Marius Bakke b9ffa82b96
gnu: lsof: Update to 4.91.
* gnu/packages/lsof.scm (lsof): Update to 4.91.
2018-07-12 17:21:16 +02:00
Marius Bakke 2c3434150b
gnu: xf86-input-libinput: Update to 0.28.0.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 0.28.0.
2018-07-12 17:21:16 +02:00
Marius Bakke 041f84edf3
gnu: ldb: Downgrade to 1.3.3.
LDB 1.4 and above does not support Samba < 4.9; see
<https://bugzilla.samba.org/show_bug.cgi?id=13519>.

* gnu/packages/samba.scm (ldb): Downgrade to 1.3.3.
[inputs]: Remove LMDB.
[arguments]: Remove #:tests.
2018-07-12 17:21:16 +02:00
Marius Bakke b7a2d2d9a9
gnu: tdb: Update to 1.3.16.
* gnu/packages/databases.scm (tdb): Update to 1.3.16.
2018-07-12 17:21:16 +02:00
Marius Bakke e4bdd199c0
gnu: tevent: Update to 0.9.37.
* gnu/packages/samba.scm (tevent): Update to 0.9.37.
2018-07-12 17:21:16 +02:00
Marius Bakke f9e1cdb87a
gnu: talloc: Update to 2.1.14.
* gnu/packages/samba.scm (talloc): Update to 2.1.14.
2018-07-12 17:21:16 +02:00
Marius Bakke 250276a202
gnu: python-pyyaml: Update to 3.13.
* gnu/packages/python.scm (python-pyyaml): Update to 3.13.
2018-07-12 17:21:15 +02:00
Marius Bakke 316ece170c
gnu: appstream-glib: Update to 0.7.10.
* gnu/packages/glib.scm (appstream-glib): Update to 0.7.10.
2018-07-12 17:21:15 +02:00
Marius Bakke 804863196c
gnu: libzip: Update to 1.5.1.
* gnu/packages/compression.scm (libzip): Update to 1.5.1.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
2018-07-12 17:21:15 +02:00
Marius Bakke 69b8820e7b
gnu: rng-tools: Update to 6.3.
* gnu/packages/linux.scm (rng-tools): Update to 6.3.
2018-07-12 17:21:15 +02:00
Marius Bakke 03229b36e0
gnu: openh264: Update to 1.8.0.
* gnu/packages/video.scm (openh264): Update to 1.8.0.
[source](uri): Use release tarball.
2018-07-12 17:21:15 +02:00
Marius Bakke 9b76037e2c
gnu: xapian: Update to 1.4.6 [fixes CVE-2018-0499].
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.6.
2018-07-12 17:21:14 +02:00
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