Commit Graph

45828 Commits

Author SHA1 Message Date
Ludovic Courtès
b9373e2627
gexp: 'lowered-gexp-guile' now returns a <derivation-input>.
* guix/derivations.scm (derivation-input-output-path): New procedure.
* guix/gexp.scm (lower-gexp): Wrap GUILE in a <derivation-input>.
(gexp->derivation): Adjust accordingly.
* guix/remote.scm (remote-pipe-for-gexp, remote-eval): Adjust
accordingly.
* tests/gexp.scm ("lower-gexp"): Adjust accordingly.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
93c2a00739
derivations: Deprecate the previous calling convention.
We will eventually require #:inputs to be a list of <derivation-input>;
store items will have to be passed as #:sources, already interned.

* guix/derivations.scm (warn-about-derivation-deprecation): New procedure.
(derivation): Add #:%deprecation-warning? parameter.
[warn-deprecation]: New macro.
[input->derivation-input, input->source]: Use it.
(build-expression->derivation): Pass #:%deprecation-warning?.
* po/guix/POTFILES.in: Add guix/derivations.scm.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
9e64302d68
derivations: Update tests to use new calling convention.
* tests/derivations.scm ("build derivation with 1 source"): Adjust to
new 'derivation' calling convention.
("identical files are deduplicated"): Likewise.
("fixed-output-derivation?"): Likewise.
("fixed-output derivation"): Likewise.
("fixed-output derivation, recursive"): Likewise.
("derivation with a fixed-output input"): Likewise.
("multiple-output derivation"): Likewise.
("multiple-output derivation, non-alphabetic order"): Likewise.
("read-derivation vs. derivation"): Likewise.
("user of multiple-output derivation"): Likewise.
("derivation with #:references-graphs"): Likewise.
("derivation #:allowed-references, ok"): Likewise.
("derivation #:allowed-references, not allowed"): Likewise.
("derivation #:allowed-references, self allowed"): Likewise.
("derivation #:allowed-references, self not allowed"): Likewise.
("derivation #:disallowed-references, ok"): Likewise.
("derivation #:disallowed-references, not ok"): Likewise.
("derivation #:leaked-env-vars"): Likewise.
("build derivation with coreutils"): Likewise.
("map-derivation, sources"): Likewise.
("derivation with local file as input"): Remove.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
d145832151
derivations: 'map-derivation' uses the new 'derivation' calling convention.
* guix/derivations.scm (map-derivation)[input->output-paths]: Adjust to
deal with an argument that's either 'derivation-input?' or a string.
[rewritten-input]: Return a <derivation-input> or a string.
Pass #:inputs and #:sources to 'derivation'.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
02237f13ee
download: Use the new 'derivation' calling convention.
* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
266e54e2ac
gnu: guile-bootstrap: Use the new 'derivation' calling convention.
* gnu/packages/bootstrap.scm (raw-build): In 'derivation' call,
distinguish #:inputs from #:sources, passing a list of
<derivation-input> as #:inputs.
2019-07-15 10:01:05 +02:00
Ludovic Courtès
3868577480
gexp: <lowered-gexp> separates sources from derivation inputs.
* guix/gexp.scm (lower-inputs): Return either <derivation-input> records
or store items.
(lower-reference-graphs): Return file/input pairs.
(<lowered-gexp>)[sources]: New field.
(lower-gexp): Adjust accordingly.
(gexp->input-tuple): Remove.
(gexp->derivation)[graphs-file-names]: Handle only the
'derivation-input?' and 'string?' cases.
Pass #:sources to 'raw-derivation'; ensure #:inputs contains only
<derivation-input> records.
* guix/remote.scm (remote-eval): Adjust to the new <lowered-gexp>
interface.
* tests/gexp.scm ("lower-gexp"): Adjust to expect <derivation-input>
records instead of <gexp-input>
2019-07-15 10:01:05 +02:00
Ludovic Courtès
4daf89d619
derivations: 'derivation' primitive accepts <derivation> and #:sources.
This brings us closer to the <derivation> data type.

* guix/derivations.scm (derivation): Add #:sources parameter.
[input->derivation-input]: Add clause for 'derivation-input?'.
Honor SOURCES.
2019-07-15 10:01:04 +02:00
Ludovic Courtès
456c7ade09
syscalls: Use 'define-as-needed' for 'AT_' constants introduced in Guile 2.2.5.
* guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR)
(AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): Define using
'define-as-needed'.
2019-07-15 10:00:12 +02:00
Ludovic Courtès
38302bd939
compile: Report the name of the file that cannot be compiled.
Fixes <https://bugs.gnu.org/36640>.
Reported by Robert Vollmert <rob@vllmrt.net>.

* guix/build/compile.scm (call/exit-on-exception): Add 'file' parameter
and honor it.
(exit-on-exception): Likewise.
(compile-files): Pass FILE to 'exit-on-exception'.
2019-07-15 10:00:12 +02:00
Pierre Langlois
2f3c0fb39d
gnu: linux-libre: Fix build on aarch64.
* gnu/packages/linux.scm (make-linux-libre)[arguments]: Remove
'work-around-gcc-7-include-path-issue phase.
2019-07-14 15:04:41 -04:00
Mark H Weaver
be7eebe26d
gnu: linux-libre: Update to 5.2.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.2.
(%linux-libre-hash): Update hash.
* linux-libre-5.1: Rename to ...
* linux-libre-5.2: ... this.  Use %linux-libre-5.2-patches.
* linux-libre: Switch to linux-libre-5.2.
* linux-libre-arm-veyron, linux-libre-arm-generic, linux-libre-arm-omap2plus:
Use %linux-libre-5.2-patches.
* linux-libre-headers-5.1: Rename to ...
* linux-libre-headers-5.2: ... this.
* %linux-libre-5.1-patches: Rename to ...
* %linux-libre-5.2-patches: ... this.
* gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.1-arm.conf,
gnu/packages/aux-files/linux-libre/5.1-arm64.conf,
gnu/packages/aux-files/linux-libre/5.1-i686.conf,
gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.2-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.2-arm.conf,
gnu/packages/aux-files/linux-libre/5.2-arm64.conf,
gnu/packages/aux-files/linux-libre/5.2-i686.conf,
gnu/packages/aux-files/linux-libre/5.2-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
2019-07-14 15:02:45 -04:00
Julien Lepiller
a4bb189210
Revert "guix: node-build-system: Use guile-json instead of a custom parser."
The effect of this change was to import the (json parser) from the host
side into the build side. The solution here would be to do the equivalent
of ‘with-extensions’ for gexps. Since we don't use gexps for build
systems just yet, revert this for now.

This reverts commit 8eb0ba532e.
2019-07-14 20:18:07 +02:00
Arun Isaac
3c6d7fa842
gnu: Add emacs-elpher.
* gnu/packages/emacs-xyz.scm (emacs-elpher): New variable.
2019-07-14 20:14:35 +05:30
Rutger Helling
39a20acc06
gnu: nzbget: Update to 21.0.
* gnu/packages/networking.scm (nzbget): Update to 21.0.
2019-07-14 15:55:47 +02:00
Julien Lepiller
8eb0ba532e
guix: node-build-system: Use guile-json instead of a custom parser.
* guix/build/json.scm: Remove file.
* Makefile.am: Remove it.
* guix/build/node-build-system.scm: Use (json parser) instead of (guix build json).
* guix/build-system/node.scm: Idem.
2019-07-14 14:57:46 +02:00
Jelle Licht
09a1f92f61
build: Add node-build-system.
* guix/build/node-build-system.scm: New file.
* guix/build-system/node.scm: New file.
* guix/build/json.scm: New file.
* doc/guix.texi: Document it.
* Makefile.am: Added new files.

Co-Authored-By: Julien Lepiller <julien@lepiller.eu>
2019-07-14 12:20:48 +02:00
Efraim Flashner
041e03847b
gnu: Add evisum.
* gnu/packages/enlightenment.scm (evisum): New variable.
2019-07-14 11:02:23 +03:00
Jan Nieuwenhuizen
53f2164272
channels: Add optional directory to channel metadata.
* guix/channels.scm (<channel-metadata>): Add directory slot.  Update users.
(read-channel-metadata-from-source): New function.
(standard-module-derivation): Use it.
* doc/guix.texi (Package Modules in a Subdirectory): New subsection.
2019-07-14 00:58:09 +02:00
Christopher Baines
bee9f97e0a
gnu: Add s-tui.
* gnu/packages/admin.scm (s-tui): New variable.
2019-07-13 23:18:54 +01:00
Ricardo Wurmus
29fe71152f
gnu: python-rpy2: Update to 3.0.4-1.19868a8.
* gnu/packages/statistics.scm (python-rpy2): Update to 3.0.4-1.19868a8.
[source]: Fetch from repository.
[propagated-inputs]: Add python-cffi, python-numpy, python-pandas,
python-ipython, and python-tzlocal.
[native-inputs]: Add python-pytest.
[arguments]: Set TZ variable and use pytest to run the tests.
2019-07-13 23:50:01 +02:00
Leo Famulari
06e1ecbf17
doc: Update keyserver URL.
* HACKING (Commit Access): Change keyserver URL to 'keys.openpgp.org'.
2019-07-13 14:25:19 -04:00
Hartmut Goebel
6b61dea336
gnu: Add pngquant.
* gnu/packages/image.scm (pngquant): New variable.
2019-07-13 20:04:44 +02:00
Hartmut Goebel
8db1bd188b
gnu: Add libimagequant.
* gnu/packages/image.scm (libimagequant): New variable.
2019-07-13 20:04:44 +02:00
Jacob MacDonald
f24276de9a
gnu: docker-compose: Update to 1.24.1.
* gnu/packages/docker.scm (docker-compose): Update to 1.24.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
3146b6da6d
gnu: python-docker-py: Update to 3.7.3.
* gnu/packages/docker.scm (python-docker-py): Update to 3.7.3.
[inputs]: Use PYTHON-REQUESTS-2.20 instead of PYTHON-REQUESTS.
Add PYTHON-DOCKER-PYCREDS, PYTHON-IPADDRESS, PYTHON-PARAMIKO, and
PYTHON-URLLIB3-1.24.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
8bb591d426
gnu: python-dockerpty: Update to 0.4.1.
* gnu/packages/docker.scm (python-dockerpty): Update to 0.4.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
d59d56b2ad
gnu: python-docker-pycreds: Update to 0.4.0.
* gnu/packages/docker.scm (python-docker-pycreds): Update to 0.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
52cc489292
gnu: python-texttable: Update to 0.9.1.
* gnu/packages/python-xyz.scm (python-texttable): Update to 0.9.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
97f0bd7d68
gnu: Add python-requests-2.20.
* gnu/packages/python-web.scm (python-requests-2.20): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
a76e6a690f
gnu: Add python-idna-2.7.
* gnu/packages/python-xyz.scm (python-idna-2.7): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
7deb086864
gnu: Add python-urllib3-1.24.
* gnu/packages/python-web.scm (python-urllib3-1.24): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:52 +02:00
Jacob MacDonald
e308b4f06a
gnu: Add python-cached-property.
* gnu/packages/python-xyz.scm (python-cached-property): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:52 +02:00
Ludovic Courtès
86b0b7917f
gnu: rush: Update to 2.1.
* gnu/packages/rush.scm (rush): Update to 2.1.
2019-07-13 15:13:52 +02:00
Ricardo Wurmus
c1b87329bf
gnu: pigx-rnaseq: Update to 0.0.10.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.10.
2019-07-13 13:51:52 +02:00
Tobias Geerinckx-Rice
2a059ab995
doc: Increase VM memory size.
* doc/guix.texi (Running Guix in a VM): Bump ‘-m‘ to 1 GiB to match its
@item below, and have a chance of being usable, too.
2019-07-13 05:26:01 +02:00
Tobias Geerinckx-Rice
ffae5a7946
doc: Update gpg key fetching instructions.
This mirrors the steps performed by etc/guix-install.sh.

* doc/guix.texi (KEY-SERVER): Replace moribund SKS key servers with...
(OPENPGP-SIGNING-KEY-URL): ...the TLS PKI of the future.
(Binary Installation, USB Stick and DVD Installation): Update the
@example gpg command to download the key directly from Savannah.
2019-07-13 04:55:46 +02:00
Tobias Geerinckx-Rice
2516ba81be
gnu: wcslib: Update to 6.2.
* gnu/packages/astronomy.scm (wcslib): Update to 6.2.
[arguments]: Add #:configure-flags to find CFITSIO.
2019-07-13 00:20:21 +02:00
Tobias Geerinckx-Rice
7fc2d3a92d
gnu: wcslib: Don't use NAME in source URI.
* gnu/packages/astronomy.scm (wcslib)[source]: Hard-code NAME.
2019-07-13 00:20:21 +02:00
Arne Babenhauserheide
17f90b679f
gnu: guile-wisp: fix url
* gnu/packages/guile-xyz.scm (guile-wisp): add www to url (required due to hoster-changes)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-12 23:54:19 +02:00
Arne Babenhauserheide
65610f7326
gnu: wisp: update to 1.0.2.
* gnu/packages/guile-xyz (wisp): update to version 1.0.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-12 23:54:19 +02:00
Timotej Lazar
9d34cc133f
gnu: cmus: Support AAC format.
* gnu/packages/music.scm (cmus)[inputs]: Add faad2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-12 23:54:19 +02:00
Ludovic Courtès
e429566fbb
build: Use '-Wshadowed-toplevel' only when supported.
* guix/build/compile.scm (supported-warning-type?): New procedure.
(%warnings): Remove 'unsupported-warning', though removing it doesn't
make any difference.  Define 'optional', and use it to determine whether
to include 'shadowed-toplevel'.
2019-07-12 23:54:19 +02:00
Oleg Pykhalov
6cf63fe887
gnu: Add emacs-gitlab-ci-mode.
* gnu/packages/emacs-xyz.scm (emacs-gitlab-ci-mode): New variable.
2019-07-13 00:22:55 +03:00
Oleg Pykhalov
5516a75b0b
gnu: Add emacs-matcha.
* gnu/packages/emacs-xyz.scm (emacs-matcha): New variable.
2019-07-13 00:22:52 +03:00
Leo Famulari
dd9c137b2c
gnu: Blender: Update to 2.80-rc1.
* gnu/packages/graphics.scm (blender): Update to 2.80-rc1.
2019-07-12 15:58:44 -04:00
Leo Famulari
04d52b1a95
gnu: OpenImageIO: Update to 1.8.17.
* gnu/packages/graphics.scm (openimageio): Update to 1.8.17.
(openimageio-1.7): New variable.
(blender-2.79)[inputs]: Use openimageio-1.7.
2019-07-12 15:58:41 -04:00
Arun Isaac
7f1c69f5d3
gnu: Add aptdec.
* gnu/packages/ham-radio.scm (aptdec): New variable.
2019-07-12 22:44:55 +05:30
Tanguy Le Carrour
90bb244f29
gnu: Add grisbi.
* gnu/packages/finance.scm (grisbi): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2019-07-12 12:05:00 -04:00
Tobias Geerinckx-Rice
ca31f76b86
gnu: rust: Fix hash.
I don't know what the previous hash described, but the signature on this
one is valid.

* gnu/packages/rust.scm (rust)[source]: Update hash.
2019-07-12 14:55:11 +02:00