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
Efraim Flashner
8911d85b9c
gnu: qsintilla: Update to 2.10.7.
...
* gnu/packages/qt.scm (qscintilla): Update to 2.10.7.
2018-07-11 11:08:48 +03:00
Efraim Flashner
a01a3763fc
gnu: python-pyqt: Update to 5.11.2.
...
* gnu/packages/qt.scm (python-pyqt): Update to 5.11.2.
[arguments]: Substitute INVOKE for SYSTEM*.
(python2-pyqt)[inputs]: Add python2-enum34.
2018-07-11 11:08:48 +03:00
Efraim Flashner
e3232b2627
gnu: python-sip: Update to 4.19.11.
...
* gnu/packages/qt.scm (python-sip): Update to 4.19.11.
[arguments]: Substitute INVOKE for SYSTEM*. Add flag to build private
sip module PyQt5.sip.
2018-07-11 11:08:48 +03:00
Efraim Flashner
f79c7e9747
gnu: qt: Update to 5.11.1.
...
* gnu/packages/qt.scm (qt): Update to 5.11.1.
[source]: Update snippet.
[inputs]: Remove sqlite.
[arguments]: Don't use system sqlite.
2018-07-11 11:08:48 +03:00
Efraim Flashner
64a64fa72a
gnu: python-pyqt: Remove qt-5.11 compat phase.
...
* gnu/packages/qt.scm (python-pyqt)[arguments]: Remove custom phase to
fix compatibility with qt-5.11.
2018-07-11 11:08:47 +03:00
Efraim Flashner
b6476ecc8b
gnu: qt: Update to 5.11.1.
...
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-11 11:08:47 +03:00
Efraim Flashner
e718ce1460
gnu: owncloud-client: Update to 2.4.1.
...
* gnu/packages/sync.scm (owncloud-client): Update to 2.4.1.
[phases]: Remove custom 'change-rpath-dirs phase.
[arguments]: Disable building with qtwebkit.
[inputs]: Remove inotify-tools, openssl, qtwebkit.
2018-07-11 11:08:43 +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
Marius Bakke
2776b5d5bf
gnu: gnome-dictionary: Fix install phase.
...
* gnu/packages/gnome.scm (gnome-dictionary)[arguments]: Add phase to prevent
post-install script from running.
2018-07-09 23:00:29 +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