jackhill/guix/guix.git
2 years agognu: sundials: Add 5.8.0.
Paul A. Patience [Thu, 28 Apr 2022 18:19:22 +0000 (18:19 +0000)]
gnu: sundials: Add 5.8.0.

* gnu/packages/maths.scm (sundials-5, sundials-openmpi-5): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: sundials: Update to 6.2.0.
Paul A. Patience [Mon, 2 May 2022 13:28:55 +0000 (13:28 +0000)]
gnu: sundials: Update to 6.2.0.

* gnu/packages/maths.scm (sundials): Update to 6.2.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: sundials-openmpi: Add HYPRE dependency.
Paul A. Patience [Mon, 2 May 2022 13:28:46 +0000 (13:28 +0000)]
gnu: sundials-openmpi: Add HYPRE dependency.

* gnu/packages/maths.scm (sundials-openmpi)[propagated-inputs]: Add
hypre-openmpi.
[arguments]<#:configure-flags>: Add -DENABLE_HYPRE, -DHYPRE_INCLUDE_DIR
and -DHYPRE_LIBRARY_DIR.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: sundials: Fix various issues.
Paul A. Patience [Mon, 2 May 2022 13:28:39 +0000 (13:28 +0000)]
gnu: sundials: Fix various issues.

This commit fixes various issues. First, some of SUNDIALS's CMake
variables were renamed at some point between 5.2.0 and 5.7.0, in
particular KLU_ENABLE, which was changed to ENABLE_KLU. Since
sundials-julia is essentially SUNDIALS 5.2.0, its configure flags need
to be different from those of the sundials package. Second, commit
61bcd648ca215e3d8e75b3a3f49bfb94d66f7c79, which updated SUNDIALS to
6.1.1, accidentally completely disabled PETSc support for
sundials-openmpi (PETSc is supported only with MPI) by removing the
relevant configure flags. Third, SUNDIALS's default index size is
64 bits, but PETSc's is 32 bits, and they need to be the same; this
issue is discussed in the next three paragraphs.

The default index size in SUNDIALS 3.1.1 (which was the sundials
package's version previous to the aforementioned commit) was also
64 bits (though it was configured through the SUNDIALS_INDEX_TYPE CMake
variable, which could take the values INT64_T or INT32_T), but
SUNDIALS's configure script didn't warn of any incompatibility with
PETSc's 32-bit indices. I don't know if this was an accidental omission
from the configure script or if SUNDIALS's index size didn't have to
correspond to PETSc's at the time.

Keeping 64-bit indices in SUNDIALS would require adding a package for
PETSc with 64-bit indices (using the --with-64-bit-indices configure
flag), possibly named petsc64-openmpi (to follow the style of the SCOTCH
packages, i.e., scotch, scotch32, etc., though there the unadorned
package name represents the 64-bit version, unlike the unadorned petsc),
which would in turn require a package for METIS with 64-bit
indices (using IDXTYPEWIDTH=64). However, SUNDIALS is an optional
dependency of deal.II, both of which have PETSc as an optional
dependency, and deal.II's index size (which defaults to 32 bits) must
match PETSc's. In other words, the current deal.II package can build
with SUNDIALS only if SUNDIALS has 32-bit indices.

Furthermore, users needing 64-bit indices in SUNDIALS probably also need
them in PETSc and other libraries. If and when 64-bit indices are deemed
necessary, we can add all the package variations at once (for SUNDIALS,
PETSc, METIS, deal.II and any others).

* gnu/packages/maths.scm (sundials)[source]: Reuse version in URL.
[native-inputs]: Capitalize and punctuate comment.
[inputs]: Remove petsc, now unnecessary gfortran, and obsolete
comment. Move TODO item to sundials-openmpi.
[arguments]<#:configure-flags>: Add -DSUNDIALS_INDEX_SIZE=32 to match
PETSc's 32-bit indices. Remove obsolete -DEXAMPLES_ENABLE_F77,
-DEXAMPLES_ENABLE_F90 and -DFCMIX_ENABLE. Mention new but currently
unusable -DBUILD_FORTRAN_MODULE_INTERFACE and
-DEXAMPLES_ENABLE_F2003. Rename KLU_ENABLE to ENABLE_KLU.
(sundials-openmpi): Use package/inherit.
[inputs]: Move openmpi and petsc-openmpi from here...
[propagated-inputs]: ...to here. Clarify comment.
[arguments]<#:configure-flags>: Add -DENABLE_PETSC and -DPETSC_DIR, the
equivalents of which were accidentally removed in commit
61bcd648ca215e3d8e75b3a3f49bfb94d66f7c79.
<#:phases>: Replace a tab with spaces.
[synopsis]: Replace OpenMPI with MPI to conform to other package
synopses.
(sundials-julia)[inputs]: Add gfortran.
[arguments]<#:configure-flags>: Set only, and manually, -DCMAKE_C_FLAGS,
-DSUNDIALS_INDEX_SIZE, -DKLU_ENABLE, -DKLU_INCLUDE_DIR,
-DKLU_LIBRARY_DIR and -DLAPACK_ENABLE instead of inheriting from the
sundials package, because some of SUNDIALS's CMake variables have
changed name.
[synopsis]: Capitalize “LAPACK”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: petsc-openmpi: Fix header inclusions.
Paul A. Patience [Mon, 2 May 2022 13:28:28 +0000 (13:28 +0000)]
gnu: petsc-openmpi: Fix header inclusions.

* gnu/packages/maths.scm (petsc-openmpi)[arguments]: Add
'patch-header-inclusions' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoservices: pipefs: Correctly handle lack of extensions.
Ludovic Courtès [Mon, 2 May 2022 21:24:46 +0000 (23:24 +0200)]
services: pipefs: Correctly handle lack of extensions.

Previously, in the absence of extensions of 'pipefs-service-type', we'd
get a wrong-type-arg exception while folding services:

  In gnu/services/nfs.scm:
     134:37  1 (_ #<<pipefs-configuration> mount-point: "/var/lib/nfs…> …)
  In ice-9/boot-9.scm:
    1685:16  0 (raise-exception _ #:continuable? _)
  In procedure car: Wrong type argument in position 1 (expecting pair): ()

* gnu/services/nfs.scm (pipefs-service-type)[extend]: Gracefully handle
the case where VALUES is the empty list, as done in 'gss-service-type'.

2 years agognu: Mutt: Update to 2.2.4.
Leo Famulari [Mon, 2 May 2022 23:08:44 +0000 (19:08 -0400)]
gnu: Mutt: Update to 2.2.4.

* gnu/packages/mail.scm (mutt): Update to 2.2.4.

2 years agognu: linux-libre 4.19: Update to 4.19.241.
Leo Famulari [Mon, 2 May 2022 21:10:10 +0000 (17:10 -0400)]
gnu: linux-libre 4.19: Update to 4.19.241.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.241.
(linux-libre-4.19-pristine-source): Update hash.

2 years agognu: linux-libre 5.15: Update to 5.15.37.
Leo Famulari [Mon, 2 May 2022 21:09:52 +0000 (17:09 -0400)]
gnu: linux-libre 5.15: Update to 5.15.37.

* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.37.
(linux-libre-5.15-pristine-source): Update hash.

2 years agognu: mes: Update to 0.24.
Jan (janneke) Nieuwenhuizen [Sun, 13 Dec 2020 13:46:40 +0000 (14:46 +0100)]
gnu: mes: Update to 0.24.

* gnu/packages/mes.scm (mes-next)[source]: Update to 0.24.
[native-inputs]: Add m2-planet.

2 years agognu: m2-planet: Update to 1.9.0.
Jan (janneke) Nieuwenhuizen [Sun, 1 May 2022 12:01:03 +0000 (14:01 +0200)]
gnu: m2-planet: Update to 1.9.0.

* gnu/packages/mes.scm (m2-planet): Update to 1.9.0.

2 years agognu: mescc-tools: Update to 1.4.0.
Jan (janneke) Nieuwenhuizen [Sun, 1 May 2022 21:35:47 +0000 (23:35 +0200)]
gnu: mescc-tools: Update to 1.4.0.

* gnu/packages/mes.scm (mescc-tools): Update to 1.4.0.

2 years agognu: Add xschem.
Konstantinos Agiannis [Tue, 26 Apr 2022 11:27:51 +0000 (14:27 +0300)]
gnu: Add xschem.

* gnu/packages/engineering.scm (xschem): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoservices: Make sure Shepherd destructors match constructors.
Ludovic Courtès [Mon, 2 May 2022 15:27:13 +0000 (17:27 +0200)]
services: Make sure Shepherd destructors match constructors.

This is a followup to b06ecc57515d4e3c8b2228e8142654e9a26ba6e1,
211fe3f66e6dfdaa64974931c458ab1d92afc182, and
fd57ce267c4083fe98242caa31075d2bd62903bf.

* gnu/services/base.scm (guix-publish-shepherd-service): Change 'stop'
method to use 'make-systemd-destructor' when 'make-systemd-constructor'
is used.
* gnu/services/dict.scm (dicod-shepherd-service): Change 'stop' method
to use 'make-inetd-destructor' when 'make-inetd-constructor' is used.
* gnu/services/messaging.scm (bitlbee-shepherd-service): Likewise.

2 years agognu: python-hic2cool: Fix build.
Ricardo Wurmus [Mon, 2 May 2022 15:33:31 +0000 (17:33 +0200)]
gnu: python-hic2cool: Fix build.

* gnu/packages/bioinformatics.scm (python-hic2cool)[arguments]: Fix
incompatibility with h5py 3; disable two tests.

2 years agognu: Add r-agimicrorna.
Mădălin Ionel Patrașcu [Mon, 2 May 2022 09:37:34 +0000 (11:37 +0200)]
gnu: Add r-agimicrorna.

* gnu/packages/bioconductor.scm (r-agimicrorna): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2 years agognu: Add r-adductomicsr.
Mădălin Ionel Patrașcu [Sun, 17 Apr 2022 15:10:46 +0000 (17:10 +0200)]
gnu: Add r-adductomicsr.

* gnu/packages/bioconductor.scm (r-adductomicsr): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2 years agognu: Add r-orgmassspecr.
Mădălin Ionel Patrașcu [Sun, 17 Apr 2022 15:10:45 +0000 (17:10 +0200)]
gnu: Add r-orgmassspecr.

* gnu/packages/cran.scm (r-orgmassspecr): New variable.

2 years agognu: Add r-adductdata.
Mădălin Ionel Patrașcu [Sun, 17 Apr 2022 15:10:44 +0000 (17:10 +0200)]
gnu: Add r-adductdata.

* gnu/packages/bioconductor.scm (r-adductdata): New variable.

2 years agognu: Add python-scrapy.
Felix Gruber [Wed, 20 Apr 2022 17:28:04 +0000 (17:28 +0000)]
gnu: Add python-scrapy.

* gnu/packages/python-web.scm (python-scrapy): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-itemloaders.
Felix Gruber [Wed, 20 Apr 2022 17:28:03 +0000 (17:28 +0000)]
gnu: Add python-itemloaders.

* gnu/packages/python-xyz.scm (python-itemloaders): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-parsel.
Felix Gruber [Wed, 20 Apr 2022 17:28:02 +0000 (17:28 +0000)]
gnu: Add python-parsel.

* gnu/packages/python-web.scm (python-parsel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-protego.
Felix Gruber [Wed, 20 Apr 2022 17:28:01 +0000 (17:28 +0000)]
gnu: Add python-protego.

* gnu/packages/python-web.scm (python-protego): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-itemadapter.
Felix Gruber [Wed, 20 Apr 2022 17:28:00 +0000 (17:28 +0000)]
gnu: Add python-itemadapter.

* gnu/packages/python-xyz.scm (python-itemadapter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-queuelib.
Felix Gruber [Wed, 20 Apr 2022 17:27:59 +0000 (17:27 +0000)]
gnu: Add python-queuelib.

* gnu/packages/python-xyz.scm (python-queuelib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-pydispatcher.
Felix Gruber [Wed, 20 Apr 2022 17:27:58 +0000 (17:27 +0000)]
gnu: Add python-pydispatcher.

* gnu/packages/python-xyz.scm (python-pydispatcher): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-sybil.
Felix Gruber [Wed, 20 Apr 2022 17:27:57 +0000 (17:27 +0000)]
gnu: Add python-sybil.

* gnu/packages/python-check.scm (python-sybil): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: bear: Update to 3.0.19.
Greg Hogan [Thu, 21 Apr 2022 19:03:09 +0000 (19:03 +0000)]
gnu: bear: Update to 3.0.19.

* gnu/packages/build-tools.scm (bear): Update to 3.0.19.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: spdlog: Update to 1.10.0.
Greg Hogan [Fri, 22 Apr 2022 16:56:21 +0000 (16:56 +0000)]
gnu: spdlog: Update to 1.10.0.

* gnu/packages/logging.scm (spdlog): Update to 1.10.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: fmt: Update to 8.1.1.
Greg Hogan [Tue, 19 Apr 2022 17:37:23 +0000 (17:37 +0000)]
gnu: fmt: Update to 8.1.1.

* gnu/packages/pretty-print.scm (fmt): Update to 8.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: apl: Use G-expressions.
Paul A. Patience [Mon, 2 May 2022 11:17:22 +0000 (11:17 +0000)]
gnu: apl: Use G-expressions.

* gnu/packages/apl.scm (apl)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: apl: Remove input labels.
Paul A. Patience [Mon, 2 May 2022 11:17:19 +0000 (11:17 +0000)]
gnu: apl: Remove input labels.

* gnu/packages/apl.scm (apl)[inputs]: Remove labels and sort.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: apl: Update to 1.8-r1550.
Paul A. Patience [Mon, 2 May 2022 11:17:16 +0000 (11:17 +0000)]
gnu: apl: Update to 1.8-r1550.

This commit fixes a failing build caused by -Werror (the configure
script no longer sets the -Werror compilation flag).

* gnu/packages/apl.scm (apl): Update to 1.8-r1550.
[arguments]: Add 'fix-configure' phase.
[license]: Prefix with 'license:'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add emacs-git-email.
Niklas Eklund [Thu, 28 Apr 2022 15:28:16 +0000 (17:28 +0200)]
gnu: Add emacs-git-email.

* gnu/packages/emacs-xyz.scm (emacs-git-email): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: ugrep: Update to 3.7.9.
kiasoc5 [Thu, 28 Apr 2022 18:44:23 +0000 (14:44 -0400)]
gnu: ugrep: Update to 3.7.9.

* gnu/packages/search.scm (ugrep): Update to 3.7.9.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-sdk-cpp: Remove openssl input.
Greg Hogan [Fri, 22 Apr 2022 19:38:53 +0000 (19:38 +0000)]
gnu: aws-sdk-cpp: Remove openssl input.

* gnu/packages/cpp.scm (aws-sdk-cpp):
[inputs]: Remove openssl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: s2n: Link to aws-lc as libcrypto dependency.
Greg Hogan [Fri, 22 Apr 2022 17:28:17 +0000 (17:28 +0000)]
gnu: s2n: Link to aws-lc as libcrypto dependency.

* gnu/packages/tls.scm (s2n):
[arguments]: Fix for openssl as replacement input for aws-lc.
[propagated-inputs]: Add aws-lc and remove openssl.
[supported-systems]: Only support x86_64-linux.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-lc: Fix checksum and enable tests.
Greg Hogan [Fri, 22 Apr 2022 17:28:04 +0000 (17:28 +0000)]
gnu: aws-lc: Fix checksum and enable tests.

* gnu/packages/tls.scm (aws-lc):
[source]: Fix checksum.
[arguments]: Enable tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-crt-cpp: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:22:01 +0000 (17:22 +0000)]
gnu: aws-crt-cpp: Fix comment formatting.

* gnu/packages/cpp.scm (aws-crt-cpp): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-mqtt: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:21:39 +0000 (17:21 +0000)]
gnu: aws-c-mqtt: Fix comment formatting.

* gnu/packages/c.scm (aws-c-mqtt): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-s3: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:21:18 +0000 (17:21 +0000)]
gnu: aws-c-s3: Fix comment formatting.

* gnu/packages/c.scm (aws-c-s3): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-auth: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:20:56 +0000 (17:20 +0000)]
gnu: aws-c-auth: Fix comment formatting.

* gnu/packages/c.scm (aws-c-auth): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-compression: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:20:36 +0000 (17:20 +0000)]
gnu: aws-c-compression: Fix comment formatting.

* gnu/packages/c.scm (aws-c-compression): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-http: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:20:11 +0000 (17:20 +0000)]
gnu: aws-c-http: Fix comment formatting.

* gnu/packages/c.scm (aws-c-http): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-sdkutils: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:19:45 +0000 (17:19 +0000)]
gnu: aws-c-sdkutils: Fix comment formatting.

* gnu/packages/c.scm (aws-c-sdkutils): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-cal: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:19:23 +0000 (17:19 +0000)]
gnu: aws-c-cal: Fix comment formatting.

* gnu/packages/c.scm (aws-c-cal): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-io: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:18:59 +0000 (17:18 +0000)]
gnu: aws-c-io: Fix comment formatting.

* gnu/packages/c.scm (aws-c-io): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-event-stream: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:18:32 +0000 (17:18 +0000)]
gnu: aws-c-event-stream: Fix comment formatting.

* gnu/packages/c.scm (aws-c-event-stream): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-checksums: Fix comment formatting.
Greg Hogan [Fri, 22 Apr 2022 17:18:02 +0000 (17:18 +0000)]
gnu: aws-checksums: Fix comment formatting.

* gnu/packages/c.scm (aws-checksums): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: aws-c-common: Only support i686 and x86_64.
Greg Hogan [Fri, 22 Apr 2022 17:17:27 +0000 (17:17 +0000)]
gnu: aws-c-common: Only support i686 and x86_64.

* gnu/packages/c.scm (aws-c-common):
[supported-systems]: Only support i686-linux and x86_64-linux.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoservices: bitlbee: Preserve 'PURPLE_PLUGIN_PATH'.
Ludovic Courtès [Mon, 2 May 2022 12:04:27 +0000 (14:04 +0200)]
services: bitlbee: Preserve 'PURPLE_PLUGIN_PATH'.

Fixes a regression introduced in
211fe3f66e6dfdaa64974931c458ab1d92afc182 whereby, in inetd mode, and
when using 'bitlbee-purple', libpurple plugins would not be found.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Pass
 #:preserved-environment-variables to 'least-authority-wrapper'.

2 years agognu: htslib-for-stringtie: Inherit from htslib-1.12.
Ricardo Wurmus [Mon, 2 May 2022 12:35:26 +0000 (14:35 +0200)]
gnu: htslib-for-stringtie: Inherit from htslib-1.12.

* gnu/packages/bioinformatics.scm (htslib-for-stringtie): Inherit from
htslib-1.12.

2 years agognu: Remove python-xlrd-1.
Ricardo Wurmus [Mon, 2 May 2022 11:49:57 +0000 (13:49 +0200)]
gnu: Remove python-xlrd-1.

* gnu/packages/python-xyz.scm (python-xlrd-1): Remove variable.

2 years agognu: Remove python-cytoolz-for-cooler.
Ricardo Wurmus [Mon, 2 May 2022 11:35:03 +0000 (13:35 +0200)]
gnu: Remove python-cytoolz-for-cooler.

* gnu/packages/python-xyz.scm (python-cytoolz-for-cooler): Remove variable.

2 years agognu: python-cooler: Use more recent cytoolz.
Ricardo Wurmus [Mon, 2 May 2022 11:33:16 +0000 (13:33 +0200)]
gnu: python-cooler: Use more recent cytoolz.

* gnu/packages/bioinformatics.scm (python-cooler)[propagated-inputs]: Replace
python-cytoolz-for-cooler with python-cytoolz.

2 years agognu: python-anndata: Remove python-xlrd-1.
Ricardo Wurmus [Mon, 2 May 2022 10:36:26 +0000 (12:36 +0200)]
gnu: python-anndata: Remove python-xlrd-1.

* gnu/packages/python-xyz.scm (python-anndata)[propagated-inputs]: Remove
python-xlrd-1.

2 years agognu: ungoogled-chromium: Update to 101.0.4951.41-1.
Marius Bakke [Sun, 1 May 2022 20:22:20 +0000 (22:22 +0200)]
gnu: ungoogled-chromium: Update to 101.0.4951.41-1.

* gnu/packages/chromium.scm (%preserved-third-party-files): Include bundled
Vulkan headers.
(%chromium-version): Set to 101.0.4951.41.
(%debian-revision): Set to debian/101.0.4951.41-2.
(%debian-patches): Add one new patch.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
* gnu/packages/patches/ungoogled-chromium-system-nspr.patch: Refresh.

2 years agoservices: opendht: Use 'least-authority-wrapper'.
Ludovic Courtès [Wed, 27 Apr 2022 16:35:21 +0000 (18:35 +0200)]
services: opendht: Use 'least-authority-wrapper'.

* gnu/services/networking.scm (opendht-configuration->command-line-arguments):
Use 'least-authority-wrapper'.
(opendht-shepherd-service): Use 'make-forkexec-constructor'.

2 years agoservices: quassel: Use 'least-authority-wrapper'.
Ludovic Courtès [Sun, 17 Apr 2022 20:18:50 +0000 (22:18 +0200)]
services: quassel: Use 'least-authority-wrapper'.

* gnu/services/messaging.scm (quassel-shepherd-service): Use
'least-authority-wrapper' instead of
'make-forkexec-constructor/container'.

2 years agoservices: wesnothd: Use 'least-authority-wrapper'.
Ludovic Courtès [Sun, 17 Apr 2022 13:32:19 +0000 (15:32 +0200)]
services: wesnothd: Use 'least-authority-wrapper'.

* gnu/services/games.scm (wesnothd-shepherd-service): Use
'least-authority-wrapper' instead of
'make-forkexec-constructor/container'.

2 years agoservices: wesnothd: Grant write access to /var/run/wesnothd.
Ludovic Courtès [Sun, 17 Apr 2022 13:25:24 +0000 (15:25 +0200)]
services: wesnothd: Grant write access to /var/run/wesnothd.

* gnu/services/games.scm (wesnothd-shepherd-service): Augment 'modules'
field.  Pass #:mappings argument to 'make-forkexec-constructor/container'.
(wesnothd-activation): New variable.
(wesnothd-service-type): Extend ACTIVATION-SERVICE-TYPE.

2 years agoservices: ipfs: Use 'least-authority-wrapper'.
Ludovic Courtès [Sun, 17 Apr 2022 13:05:43 +0000 (15:05 +0200)]
services: ipfs: Use 'least-authority-wrapper'.

* gnu/services/networking.scm (ipfs-binary): Call
'least-authority-wrapper'.
(%ipfs-home-mapping): Remove surrounding gexp.
(ipfs-shepherd-service)[exec-command]: New procedure.
[ipfs-config-command, set-config!-gexp, shepherd&co]
[container-gexp, container-script]: Remove.
[inner-gexp]: Use 'exec-command'.

2 years agoservices: bitlbee: Use 'make-inetd-constructor'.
Ludovic Courtès [Sat, 16 Apr 2022 17:17:57 +0000 (19:17 +0200)]
services: bitlbee: Use 'make-inetd-constructor'.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Add call to
'least-authority-wrapper'.  In 'start' method, use
'make-inetd-constructor' when available.
* gnu/tests/messaging.scm (run-bitlbee-test)["valid PID"]: Remove test.

2 years agoservices: dicod: Use 'make-inetd-constructor'.
Ludovic Courtès [Sat, 16 Apr 2022 15:34:30 +0000 (17:34 +0200)]
services: dicod: Use 'make-inetd-constructor'.

* gnu/services/dict.scm (dicod-shepherd-service): Use
'make-inetd-constructor' in the 'start' method when available.

2 years agoservices: dicod: Rewrite using 'least-authority-wrapper'.
Ludovic Courtès [Sat, 16 Apr 2022 14:15:43 +0000 (16:15 +0200)]
services: dicod: Rewrite using 'least-authority-wrapper'.

* gnu/services/dict.scm (dicod-shepherd-service): Rewrite using
'least-authority-wrapper' plus 'make-forkexec-constructor' instead of
'make-forkexec-constructor/container'.

2 years agoAdd (guix least-authority).
Ludovic Courtès [Sat, 16 Apr 2022 14:11:23 +0000 (16:11 +0200)]
Add (guix least-authority).

* guix/least-authority.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/build/shepherd.scm (default-mounts): Make public.

2 years agolinux-container: Add #:child-is-pid1? parameter to 'call-with-container'.
Ludovic Courtès [Wed, 27 Apr 2022 15:28:31 +0000 (17:28 +0200)]
linux-container: Add #:child-is-pid1? parameter to 'call-with-container'.

* gnu/build/linux-container.scm (wait-child-process)
(status->exit-status): New procedures.
(call-with-container): Add #:child-is-pid1? parameter and honor it.
[thunk*]: New variable.  Pass it to 'run-container'.

2 years agolinux-container: Ensure signal-handling asyncs get a chance to run.
Ludovic Courtès [Wed, 27 Apr 2022 15:53:10 +0000 (17:53 +0200)]
linux-container: Ensure signal-handling asyncs get a chance to run.

Previously we could enter the blocking 'waitpid' call and miss an
opportunity to run the signal handler async.

* gnu/build/linux-container.scm (call-with-container)
[periodically-schedule-asyncs]: New procedure.
[install-signal-handlers]: Call it.

2 years agolinux-container: 'call-with-container' relays SIGTERM and SIGINT.
Ludovic Courtès [Sat, 16 Apr 2022 17:26:11 +0000 (19:26 +0200)]
linux-container: 'call-with-container' relays SIGTERM and SIGINT.

* gnu/build/linux-container.scm (call-with-container): Add #:relayed-signals.
[install-signal-handlers]: New procedure.
Call it.

2 years agofile-systems: Avoid load-time warnings when attempting to load (guix store).
Ludovic Courtès [Sat, 16 Apr 2022 14:13:34 +0000 (16:13 +0200)]
file-systems: Avoid load-time warnings when attempting to load (guix store).

This makes sure warnings like "incompatible bytecode version" don't go
through when looking for (guix store).

* gnu/system/file-systems.scm (%store-prefix): Parameterize
'current-warning-port' around 'resolve-module' call.

2 years agogexp: Add 'references-file'.
Ludovic Courtès [Wed, 13 Apr 2022 17:59:03 +0000 (19:59 +0200)]
gexp: Add 'references-file'.

* gnu/services/base.scm (references-file): Remove.
* guix/gexp.scm (references-file): New procedure.
* tests/gexp.scm ("references-file"): New test.

2 years agonls: Update translations.
Julien Lepiller [Sun, 1 May 2022 16:06:47 +0000 (18:06 +0200)]
nls: Update translations.

po/guix/ja.po: New file.
po/guix/LINGUAS: Add it.

2 years agognu: ocaml-uuidm: Update to 0.9.8.
Julien Lepiller [Sun, 1 May 2022 14:54:36 +0000 (16:54 +0200)]
gnu: ocaml-uuidm: Update to 0.9.8.

* gnu/packages/ocaml.scm (ocaml-uuidm): Update to 0.9.8.
(ocaml4.07-uuidm): New variable.

2 years agognu: ocamlformat: Update to 0.21.0.
Julien Lepiller [Sun, 1 May 2022 14:38:38 +0000 (16:38 +0200)]
gnu: ocamlformat: Update to 0.21.0.

* gnu/packages/ocaml.scm (ocamlformat): Update to 0.21.0.

2 years agognu: ocaml-cmdliner: Update to 1.1.0.
Julien Lepiller [Sun, 1 May 2022 12:31:24 +0000 (14:31 +0200)]
gnu: ocaml-cmdliner: Update to 1.1.0.

Cmdliner changed its output format, so two packages need to be modified
to accept the new format.

The patch modifies ocaml 4.07 packages to ensure this patch results in the
same derivations for these variants.

* gnu/packages/ocaml.scm (ocaml-cmdliner): Update to 1.1.0.
(ocaml-alcotest, ocaml-mdx)[arguments]: Fix tests.
(ocaml4.07-cmdliner): New variable.
(ocaml4.07-alcotest): Do not fix tests.

2 years agognu: ocaml-re: Update to 1.10.4.
Julien Lepiller [Sun, 1 May 2022 10:59:27 +0000 (12:59 +0200)]
gnu: ocaml-re: Update to 1.10.4.

* gnu/packages/ocaml.scm (ocaml-re): Update to 1.10.4.

2 years agognu: ocaml-spawn: Update to 0.15.1.
Julien Lepiller [Sun, 1 May 2022 09:28:10 +0000 (11:28 +0200)]
gnu: ocaml-spawn: Update to 0.15.1.

* gnu/packages/ocaml.scm (ocaml-spawn): Update to 0.15.1.

2 years agognu: ocaml-ppx-fields-conv: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:26:44 +0000 (11:26 +0200)]
gnu: ocaml-ppx-fields-conv: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-fields-conv): Update to 0.15.0.

2 years agognu: ocaml-parsexp: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:23:51 +0000 (11:23 +0200)]
gnu: ocaml-parsexp: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-parsexp): Update to 0.15.0.

2 years agognu: ocaml-ppx-hash: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:17:55 +0000 (11:17 +0200)]
gnu: ocaml-ppx-hash: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-hash): Update to 0.15.0.

2 years agognu: ocaml-ppx-sexp-value: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:15:57 +0000 (11:15 +0200)]
gnu: ocaml-ppx-sexp-value: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-sexp-value): Update to 0.15.0.

2 years agognu: ocaml-jst-config: Update to 0.15.1.
Julien Lepiller [Sun, 1 May 2022 09:12:02 +0000 (11:12 +0200)]
gnu: ocaml-jst-config: Update to 0.15.1.

* gnu/packages/ocaml.scm (ocaml-jst-config): Update to 0.15.1.

2 years agognu: ocaml-ppx-stable: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:10:22 +0000 (11:10 +0200)]
gnu: ocaml-ppx-stable: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-stable): Update to 0.15.0.

2 years agognu: ocaml-ppx-base: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 09:08:20 +0000 (11:08 +0200)]
gnu: ocaml-ppx-base: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-base): Update to 0.15.0.

2 years agognu: ocaml-ppx-compare: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 08:59:45 +0000 (10:59 +0200)]
gnu: ocaml-ppx-compare: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-compare): Update to 0.15.0.

2 years agognu: ocaml-jane-street-headers: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 08:55:35 +0000 (10:55 +0200)]
gnu: ocaml-jane-street-headers: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-jane-street-headers): Update to 0.15.0.

2 years agognu: ocaml-base-bigstring: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 08:51:55 +0000 (10:51 +0200)]
gnu: ocaml-base-bigstring: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-base-bigstring): Update to 0.15.0.

2 years agognu: ocaml-core: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 08:45:37 +0000 (10:45 +0200)]
gnu: ocaml-core: Update to 0.15.0.

These packages cannot be updated individually.

* gnu/packages/ocaml.scm (ocaml-ppx-inline-test, ocaml-sexplib0)
(ocaml-sexplib, ocaml-base, ocaml-stdio, ocaml-ppx-sexp-conv)
(ocaml-ppx-expect, ocaml-base-quickcheck, ocaml-core)
(ocaml-core-kernel, ocaml-timezone): Update to 0.15.0.
(ocaml-ppxlib): Fix tests.
(ocaml-int-repr): New variable.

2 years agognu: ocaml-ppxlib: Update to 0.25.0.
Julien Lepiller [Sun, 1 May 2022 07:18:05 +0000 (09:18 +0200)]
gnu: ocaml-ppxlib: Update to 0.25.0.

* gnu/packages/ocaml.scm (ocaml-ppxlib): Update to 0.25.0.

2 years agognu: coq: Update to 8.15.1.
Julien Lepiller [Sun, 1 May 2022 06:42:43 +0000 (08:42 +0200)]
gnu: coq: Update to 8.15.1.

* gnu/packages/coq.scm (coq): Update to 8.15.1.

2 years agognu: ocaml-hex: Update to 1.5.0.
Julien Lepiller [Sun, 1 May 2022 06:35:10 +0000 (08:35 +0200)]
gnu: ocaml-hex: Update to 1.5.0.

* gnu/packages/ocaml.scm (ocaml-hex): Update to 1.5.0.

2 years agognu: ocaml-easy-format: Update to 1.3.3.
Julien Lepiller [Sun, 1 May 2022 06:33:22 +0000 (08:33 +0200)]
gnu: ocaml-easy-format: Update to 1.3.3.

* gnu/packages/ocaml.scm (ocaml-easy-format): Update to 1.3.3.

2 years agognu: ocaml-variantslib: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 06:31:40 +0000 (08:31 +0200)]
gnu: ocaml-variantslib: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-variantslib): Update to 0.15.0.

2 years agognu: ocaml-ppx-optcomp: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 06:29:24 +0000 (08:29 +0200)]
gnu: ocaml-ppx-optcomp: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-optcomp): Update to 0.15.0.

2 years agognu: ocaml-cstruct: Update to 6.1.0.
Julien Lepiller [Sun, 1 May 2022 06:09:36 +0000 (08:09 +0200)]
gnu: ocaml-cstruct: Update to 6.1.0.

* gnu/packages/ocaml.scm (ocaml-cstruct): Update to 6.1.0.

2 years agognu: ocaml-ppx-bin-prot: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 06:07:57 +0000 (08:07 +0200)]
gnu: ocaml-ppx-bin-prot: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-bin-prot): Update to 0.15.0.

2 years agognu: ocaml-ppx-jane: Update to 0.15.0.
Julien Lepiller [Sun, 1 May 2022 06:06:22 +0000 (08:06 +0200)]
gnu: ocaml-ppx-jane: Update to 0.15.0.

* gnu/packages/ocaml.scm (ocaml-ppx-jane): Update to 0.15.0.

2 years agognu: Add ocaml-ppx-disable-unused-warnings.
Julien Lepiller [Sun, 1 May 2022 06:04:32 +0000 (08:04 +0200)]
gnu: Add ocaml-ppx-disable-unused-warnings.

* gnu/packages/ocaml.scm (ocaml-ppx-disable-unused-warnings): New
  variable.

2 years agognu: Add ocaml-ppx-log.
Julien Lepiller [Sun, 1 May 2022 06:00:32 +0000 (08:00 +0200)]
gnu: Add ocaml-ppx-log.

* gnu/packages/ocaml.scm (ocaml-ppx-log): New variable.

2 years agognu: Add ocaml-ppx-ignore-instrumentation.
Julien Lepiller [Sun, 1 May 2022 05:54:59 +0000 (07:54 +0200)]
gnu: Add ocaml-ppx-ignore-instrumentation.

* gnu/packages/ocaml.scm (ocaml-ppx-ignore-instrumentation): New
  variable.