Commit graph

57852 commits

Author SHA1 Message Date
Ludovic Courtès 2d5ee2c6e8
archive: Use 'with-build-handler'.
* guix/scripts/archive.scm (export-from-store): Remove call to
'show-what-to-build' and dry-run? condition.
(guix-archive): Wrap 'cond' in 'with-build-handler'.
2020-03-25 16:02:53 +01:00
Ricardo Wurmus eb019af8d8
tests/nfs: Fix use of WAIT-FOR-FILE.
* gnu/tests/nfs.scm ("nfs services are running"): Pass marionette to
WAIT-FOR-FILE.
2020-03-25 14:17:24 +01:00
Ricardo Wurmus b3c083b985
services/nfs: Mount nfsd pseudo file system.
* gnu/services/nfs.scm (nfs-shepherd-services): Add shepherd-service providing
/proc/fs/nfsd and make other shepherd services require it.
2020-03-25 14:17:24 +01:00
Guillaume Le Vaillant 620c756443
gnu: electron-cash: Update to 4.0.14.
* gnu/packages/finance.scm (electron-cash): Update to 4.0.14.
2020-03-25 11:09:45 +01:00
Ricardo Wurmus b005c240bb
import/cran: Support importing from Mercurial repositories.
* guix/import/cran.scm (download): Accept keyword #:method; add case for hg
method.
(fetch-description): Handle hg repository.
(description->package): Add cases for hg repositories and update call of
DOWNLOAD procedure.
(cran->guix-package): Retry importing from Bioconductor when hg import failed.
2020-03-25 09:40:05 +01:00
Ricardo Wurmus 2fcd2e1a5f
gnu: r-shiny: Add missing inputs.
* gnu/packages/cran.scm (r-shiny)[propagated-inputs]: Add r-later, r-promises,
r-rlang, and r-withr.
[native-inputs]: Add gfortran.
2020-03-25 09:40:05 +01:00
Ricardo Wurmus 51d1a7a2ef
gnu: r-mast: Add r-knitr to native inputs.
* gnu/packages/bioconductor.scm (r-mast)[native-inputs]: Add r-knitr.
2020-03-25 09:40:05 +01:00
Tanguy Le Carrour 97b1366d49
gnu: poetry: Update to 1.0.5.
* gnu/packages/python-xyz.scm (poetry): Update to 1.0.5.
[propagated-inputs] Add python-clikit, python-importlib-metadata,
python-keyring, and python-pexpect. Remove python-msgpack and python-glob2.
[home-page] Update URL.
[arguments] Remove 'patch-setup-py' phase, and adjust required versions of
keyring, pyrsistent and importlib-metadata.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:16:50 -04:00
Tanguy Le Carrour c298118860
gnu: python-cachy: Update to 0.3.0.
* gnu/packages/python-xyz.scm (python-cachy): Update to 0.3.0.
[arguments]: Replace the 'check' phase.
[native-inputs]: Add memcached and python-pifpaf.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:22 -04:00
Tanguy Le Carrour f5879f158c
gnu: Add python-pifpaf.
* gnu/packages/python-xyz.scm (python-pifpaf): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:22 -04:00
Tanguy Le Carrour 20c9df4e46
gnu: Add python-daiquiri.
* gnu/packages/python-xyz.scm (python-daiquiri): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:21 -04:00
Tanguy Le Carrour 3b3edfa8e3
gnu: Add python-json-logger.
* gnu/packages/python-xyz.scm (python-json-logger): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:21 -04:00
Tanguy Le Carrour f6c784806e
gnu: Add python-xattr.
* gnu/packages/python-xyz.scm (python-xattr): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:21 -04:00
Tanguy Le Carrour 1655e7be78
gnu: python-fakeredis: Update to 1.2.1.
* gnu/packages/databases.scm (python-fakeredis): Update to 1.2.1.
[propagated-inputs]: Add python-sortedcontainers.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:21 -04:00
Tanguy Le Carrour eac978eef8
gnu: python-clikit: Update to 0.4.2.
* gnu/packages/python-xyz.scm (python-clikit): Update to 0.4.2.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:20 -04:00
Tanguy Le Carrour 01e3044200
gnu: python-sortedcontainers: Add missing propagated-inputs.
* gnu/packages/python-xyz.scm (python-sortedcontainers):
[propagated-inputs] Add python-appdirs, python-distlib, python-filelock,
python-importlib-metadata and python-six.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:20 -04:00
Tanguy Le Carrour 6dcbd20afa
gnu: python-cachecontrol: Add missing propagated-input.
* gnu/packages/python-web.scm (python-cachecontrol):
[propagated-inputs]: Add python-msgpack.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:20 -04:00
Tanguy Le Carrour 66ab2f5e3a
gnu: python-msgpack: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.0.0.
(python-msgpack-transitional)[version,source]: New fields to avoid updating this
package.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:20 -04:00
Tanguy Le Carrour 67c8b6448e
gnu: python-pastel: Update to 0.2.0.
* gnu/packages/graphics.scm (python-pastel): Update to 0.2.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:19 -04:00
Tanguy Le Carrour a356d1b68d
gnu: python-jsonschema: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 3.2.0.
[propagated-inputs]: Add python-importlib-metadata.
[arguments]: Use add-installed-pythonpath to make a test pass.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:19 -04:00
Tanguy Le Carrour 2c15cb5898
gnu: python-pexpect: Update to 4.8.0.
* gnu/packages/python-xyz.scm (python-pexpect): Update to 4.8.0.
[arguments]: Disable failing test.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 17:10:19 -04:00
Paul Garlick 5e44011bfb
gnu: perl-mail-sendmail: Add line above definition.
* gnu/packages/perl.scm (perl-mail-sendmail): Add line.
2020-03-24 20:08:05 +00:00
Paul Garlick 25022bfd3a
gnu: Add perl-mail-sendmail.
* gnu/packages/perl.scm (perl-mail-sendmail): New variable.
2020-03-24 19:59:43 +00:00
Christopher Baines 57e12aad6d
scripts: lint: Handle store connections for lint checkers.
Rather than individual checkers opening up a connection to the store for each
package to check, if any checker requires a store connection, open a
connection and pass it to all checkers that would use it. This makes running
the derivation checker much faster for multiple packages.

* guix/scripts/lint.scm (run-checkers): Add a #:store argument, and pass the
store to checkers if they require a store connection.
(guix-lint): Establish a store connection if any checker requires one, and
pass it through to run-checkers.
2020-03-24 19:47:46 +00:00
Christopher Baines 7826fbc02b
lint: Add a #:store argument to check-derivation
This can then be used to avoid opening up a store connection each time a
package needs checking.

* guix/lint.scm (check-derivation): Add a #:store argument, and pull the
handling of the store connection out of the try function.
2020-03-24 19:47:46 +00:00
Christopher Baines d84ad6a24e
lint: Mark the derivation checker as requiring a store connection.
* guix/lint.scm (%local-checkers): Mark the derivation checker as requiring a
store connection.
2020-03-24 19:47:46 +00:00
Christopher Baines 3874dc5ef2
lint: Add a requires-store? field to the checker record.
This can then be used to mark checkers that require a store connection, which
will enable passing a connection in, avoiding the overhead of establishing a
connection inside the check function when it's run for lots of different
packages.

* guix/lint.scm (<lint-checker>): Add requires-store? to the record type.
2020-03-24 19:47:43 +00:00
Josh Marshall b14c234c0d
gnu: Add Docusign API Python client.
* gnu/packages/python-xyz.scm (python-docusign-esign): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-24 15:36:20 -04:00
Danny Milosavljevic be743fc0fd
doc: Document that a working environment for building Guix requires "--pure".
* doc/guix.texi (Invoking guix environment): Document that a working
environment for building Guix requires "--pure".
2020-03-24 19:25:25 +01:00
Ludovic Courtès 637db76d7a
guix system: Fix mistaken 'guix pull' warning upon 'reconfigure'.
Fixes <https://bugs.gnu.org/38196>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* guix/scripts/system.scm (maybe-suggest-running-guix-pull): Check
whether 'current-profile' returns true instead of checking for the
existence of ~root/.config/guix/current.  That way, "sudo guix system
reconfigure" no longer emits a warning in that case.
2020-03-24 18:54:41 +01:00
Ludovic Courtès 72a5cc5358
gnu: automake: Add version 1.16.2.
* gnu/packages/autotools.scm (automake-1.16.2): New variable.
2020-03-24 18:03:18 +01:00
Ludovic Courtès 53c594cb3f
pack: Do not store extended attributes in squashfs images.
* guix/scripts/pack.scm (squashfs-image)[build](mksquashfs): Pass "-no-xattrs".
2020-03-24 16:56:19 +01:00
Ludovic Courtès 8465f1f680
ui: 'show-manifest-transaction' tabulates package lists for install/remove.
It also removes the store file name from the output.

* guix/ui.scm (show-manifest-transaction)[package-strings]: Rewrite to
use 'tabulate'.  Remove 'item' parameter and adjust callers.
2020-03-24 15:44:45 +01:00
Ludovic Courtès 3e5ab0a7a9
ui: 'show-manifest-transaction' tabulates upgraded package lists.
This also changes "1.0.0 → 1.0.0" to "(dependencies changed)", which is
probably less confusing.

* guix/ui.scm (tabulate): New procedure.
(show-manifest-transaction)[upgrade-string]: Rewrite to take lists of
names, versions, and outputs instead of single elements.  Use
'tabulate'.  Adjust callers accordingly.
2020-03-24 15:44:45 +01:00
Martin Becze cf2b91aad0
import: crate: Deduplicate dependencies.
* guix/import/crate.scm (crate-version-dependencies): Deduplicate crate dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-03-24 15:44:45 +01:00
Martin Becze b488b64a3e
gnu: Add guile3.0-semver.
* gnu/packages/guile-xyz.scm (guile3.0-semver): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-03-24 15:44:45 +01:00
Efraim Flashner 08d5341b1f
gnu: nano: Update to 4.9.
* gnu/packages/nano.scm (nano): Update to 4.9.
2020-03-24 15:47:58 +02:00
Naga Malleswari 54a9fe3429
doc: Fix typo in example.
* doc/guix.texi (Base Services)[file->udev-rule]: Correct misspelt
"user-account".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-24 13:10:43 +01:00
Naga Malleswari 022767d7c1
doc: Fix typo.
* doc/guix.texi (Invoking guix time-machine): Fix typo.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-24 13:07:17 +01:00
Guillaume Le Vaillant 151f3d416c
gnu: Add qgis.
* gnu/packages/geo.scm (qgis): New variable.

Co-authored-by: Wiktor Żelazny <wzelazny@vurv.cz>
Co-authored-by: Arun Isaac <arunisaac@systemreboot.net>
2020-03-24 11:42:41 +01:00
Arun Isaac d13d28265f
licenses: Add QWT 1.0 license.
* guix/licenses.scm (qwt1.0): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-03-24 11:42:41 +01:00
Arun Isaac 5d33e789c2
licenses: Add Open Government Licence for Public Sector Information.
* guix/licenses.scm (ogl-psi1.0): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-03-24 11:42:40 +01:00
Guillaume Le Vaillant f7ac2fe1ce
gnu: Add saga.
* gnu/packages/geo.scm (saga): New variable.
2020-03-24 11:42:40 +01:00
Guillaume Le Vaillant 9fce591479
gnu: Add grass.
* gnu/packages/geo.scm (grass): New variable.
2020-03-24 11:42:40 +01:00
Guillaume Le Vaillant efcb05083f
gnu: Add python-owslib.
* gnu/packages/python-xyz.scm (python-owslib): New variable.
2020-03-24 11:42:40 +01:00
Ricardo Wurmus b0d1da986b
gnu: r-harmony: Update to 0.1.
* gnu/packages/cran.scm (r-harmony): Update to 0.1.
[native-inputs]: Add autoconf.
2020-03-24 11:06:01 +01:00
Ricardo Wurmus 8ff6386491
gnu: r-shiny: Update to 1.4.0.2.
* gnu/packages/cran.scm (r-shiny): Update to 1.4.0.2.
2020-03-24 11:06:01 +01:00
Ricardo Wurmus 5d45d71170
gnu: r-multiassayexperiment: Update to 1.12.5.
* gnu/packages/bioconductor.scm (r-multiassayexperiment): Update to 1.12.5.
[native-inputs]: Add r-knitr.
2020-03-24 11:06:01 +01:00
Ricardo Wurmus 1f2f01aed5
gnu: r-bigpint: Update to 1.2.2.
* gnu/packages/bioconductor.scm (r-bigpint): Update to 1.2.2.
[native-inputs]: Add r-knitr.
2020-03-24 11:06:01 +01:00
Ricardo Wurmus 4bcb38c801
gnu: r-biosigner: Update to 1.14.4.
* gnu/packages/bioconductor.scm (r-biosigner): Update to 1.14.4.
2020-03-24 11:06:01 +01:00