Commit graph

95231 commits

Author SHA1 Message Date
Paul A. Patience
b7d2644cd0
gnu: fenics: Fix sanity check.
* gnu/packages/simulation.scm (fenics)[arguments]: Relax pybind11
requirement to appease the sanity check.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 15:23:06 +02:00
Paul A. Patience
9d5160bc8a
gnu: fenics: Honor #:tests? flag.
* gnu/packages/simulation.scm (fenics)[arguments]: Adjust custom 'check'
phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 15:23:06 +02:00
Paul A. Patience
69505bec93
gnu: fenics-dolfin: Honor #:tests? flag.
* gnu/packages/simulation.scm (fenics-dolfin)[source]: Remove trailing
boolean.
[arguments]: Adjust custom 'check' phase to honor the #:tests? flag. While
here, remove trailing booleans.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 15:23:06 +02:00
Ludovic Courtès
a2d44231ea
gnu: Add Guix-Modules.
* gnu/packages/package-management.scm (guix-modules): New variable.
2022-05-06 15:23:05 +02:00
Guillaume Le Vaillant
5e27c54e08
gnu: monero-gui: Update to 0.17.3.2.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.3.2.
2022-05-06 15:08:41 +02:00
Guillaume Le Vaillant
4188d211c7
gnu: monero: Update to 0.17.3.2.
* gnu/packages/finance.scm (monero): Update to 0.17.3.2.
  [source]: Remove obsolete part of snippet.
  [arguments]: Remove trailing booleans.
2022-05-06 15:08:41 +02:00
Jan (janneke) Nieuwenhuizen
53628d6e3b
gnu: Add dezyne.
* gnu/packages/dezyne.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2022-05-06 14:39:50 +02:00
Jan (janneke) Nieuwenhuizen
984add419c
gnu: mescc-tools: Update supported-systems.
* gnu/packages/mes.scm (mescc-tools)[supported-systems]: Add riscv32-linux,
riscv64-linux, remove powerpc64le-linux.
2022-05-06 14:39:45 +02:00
Efraim Flashner
22b794a4a7
gnu: links: Use gexps.
* gnu/packages/web-browsers.scm (links)[arguments]: Rewrite using gexps.
2022-05-06 14:36:08 +03:00
Efraim Flashner
d540c6792b
gnu: links: Remove input labels.
* gnu/packages/web-browsers.scm (links)[inputs]: Remove input labels.
2022-05-06 14:36:08 +03:00
Efraim Flashner
1123da369d
gnu: links: Use configure-flags.
* gnu/packages/web-browsers.scm (links)[arguments]: Add configure-flags
field. Adjust custom 'configure phase to use configure-flags.
2022-05-06 14:36:08 +03:00
Efraim Flashner
5cf81294c0
gnu: links: Update to 2.26.
* gnu/packages/web-browsers.scm (links): Update to 2.26.
2022-05-06 14:36:07 +03:00
Efraim Flashner
166e0dfc44
gnu: ncdu-2: Update to 2.1.2.
* gnu/packages/ncdu.scm (ncdu-2): Update to 2.1.2.
2022-05-06 14:36:07 +03:00
Ricardo Wurmus
549e478f23
gnu: Add python-ipydatawidgets.
* gnu/packages/jupyter.scm (python-ipydatawidgets): New variable.
2022-05-06 13:02:59 +02:00
Ricardo Wurmus
221bf543e8
gnu: Add python-xyzservices.
* gnu/packages/python-xyz.scm (python-xyzservices): New variable.
2022-05-06 13:02:59 +02:00
Ricardo Wurmus
0d73287d97
gnu: Add python-mercantile.
* gnu/packages/python-xyz.scm (python-mercantile): New variable.
2022-05-06 13:02:59 +02:00
Ricardo Wurmus
ea3cfeb665
gnu: Add python-ipympl.
* gnu/packages/jupyter.scm (python-ipympl): New variable.
2022-05-06 13:02:58 +02:00
Ricardo Wurmus
e47b080474
gnu: Add python-traittypes.
* gnu/packages/python-science.scm (python-traittypes): New variable.
2022-05-06 13:02:55 +02:00
Daniel Meißner
27fc4ae397
gnu: cava: Fix build failure
* gnu/packages/audio.scm (cava)[source]: Remove bundled iniparser.
(cava)[inputs]: Add iniparser.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 10:32:06 +02:00
Daniel Meißner
de4e4506c1
gnu: cava: Use G-expressions.
* gnu/packages/audio.scm (cava)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 10:32:06 +02:00
kiasoc5
253fc14777
gnu: nftables: Update to 1.0.2.
* gnu/packages/patches/nftables-fix-makefile.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (nftables): Update to 1.0.2.
[source]: Add patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 10:32:06 +02:00
Vincent Prat
9e630a362d
gnu: Add python-arpeggio.
* gnu/packages/python-xyz.scm (python-arpeggio): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 10:32:06 +02:00
Michael Rohleder
7727757a73
gnu: ytfzf: Update to 2.3.
* gnu/packages/patches/ytfzf-programs.patch,
* gnu/packages/patches/ytfzf-updates.patch: Delete patches.
* gnu/local.mk (dist_patch_DATA): Unregister them.
* gnu/packages/image-viewers.scm (ytfzf): Update to 2.3.
[source]: Delete patches.
[arguments]: Remove phase 'patch-script. Add phase 'install-addons,
'wrap-program.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-06 10:32:06 +02:00
Ludovic Courtès
3d05105705
gnu: slurm: Add 21.08.8.
* gnu/packages/parallel.scm (slurm): Update to 21.08.8.
(slurm-20.11): New variable.
2022-05-06 10:32:05 +02:00
Ludovic Courtès
c018871c04
gnu: slurm: Update to 20.11.9 [fixes CVE-2022-{29500,29501,29502}].
* gnu/packages/parallel.scm (slurm): Update to 20.11.9.
2022-05-06 10:32:05 +02:00
Ricardo Wurmus
a2fb35e43d
gnu: python-ipython: Add missing input.
* gnu/packages/python-xyz.scm (python-ipython)[propagated-inputs]: Add
python-decorator.
2022-05-06 10:15:04 +02:00
Ricardo Wurmus
ce1746819b
gnu: python-traitlets: Update to 5.1.1.
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.1.1.
[propagated-inputs]: Remove python-ipython-genutils, python-decorator, and
python-six.
2022-05-06 10:15:04 +02:00
Ricardo Wurmus
471f650498
gnu: Add python-kneed.
* gnu/packages/python-xyz.scm (python-kneed): New variable.
2022-05-06 10:15:04 +02:00
Ricardo Wurmus
b4da7c2133
gnu: Add python-databases.
* gnu/packages/databases.scm (python-databases): New variable.
2022-05-06 10:15:04 +02:00
Ricardo Wurmus
43992cdbea
gnu: python-anyio: Update to 3.5.0.
* gnu/packages/python-xyz.scm (python-anyio): Update to 3.5.0.
[arguments]: Remove phase 'fix-compatibility; disable one more test.
[propagated-inputs]: Add python-contextvars and python-dataclasses.
[native-inputs]: Add python-contextlib2 and python-trio; remove
python-iniconfig.
2022-05-06 10:15:04 +02:00
Ricardo Wurmus
b95e3dc17c
gnu: python-multipart: Fix test failure due to PyYAML 6.
* gnu/packages/python-xyz.scm (python-multipart)[arguments]: Patch instance of
yaml.load.
2022-05-06 10:15:00 +02:00
Foo Chuan Wei
312879fddc
gnu: Add byacc.
* gnu/packages/c.scm (byacc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-05 23:56:58 +02:00
Ludovic Courtès
0f024554e6
transformations: Preserve transformation order in package property.
Fixes <https://issues.guix.gnu.org/54942>.
Reported by SeerLite <seerlite@nixnet.email>.

* guix/transformations.scm (options->transformation)
[package-with-transformation-properties]: Add call to 'reverse'.
* tests/transformations.scm ("options->transformation, property order"):
New test.
2022-05-05 23:56:58 +02:00
Ludovic Courtès
0780164f1f
gnu: b4: Update to 0.8.0.
* gnu/packages/version-control.scm (b4): Update to 0.8.0.
2022-05-05 23:56:58 +02:00
Pierre-Antoine Bouttier
6829d61bc5
gnu: Add n2p2.
* gnu/packages/maths.scm (n2p2): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-05-05 23:56:58 +02:00
Jonathan Brielmaier
34dbbb9172
gnu: icedove: Update to 91.9.0 [fixes CVE-2022-1520].
* gnu/packages/gnuzilla.scm (icedove): Update to 91.9.0.
2022-05-05 23:09:48 +02:00
Andreas Enge
d809e71df2
gnu: python-pari-jupyter: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-pari-jupyter): Update to 1.4.1.
  [home-page]: Update after maintainer change.
2022-05-05 16:14:43 +02:00
Andreas Enge
a1b0fc8133
gnu: cm: Update to 0.4.0.
* gnu/packages/algebra.scm (cm): Update to 0.4.0.
2022-05-05 16:10:16 +02:00
Marius Bakke
b80ca672de
gnu: ungoogled-chromium: Update to 101.0.4951.54-1.
* gnu/packages/chromium.scm (%chromium-version): Set to 101.0.4951.54.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2022-05-03 22:35:12 +02:00
Mark H Weaver
9916933a04
gnu: icecat: Update to 91.9.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2022-29909, CVE-2022-29911, CVE-2022-29912,
CVE-2022-29914, CVE-2022-29916, and CVE-2022-29917.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2022-05-03 14:56:54 -04:00
Paul A. Patience
8b2d266607
gnu: dealii: Update to 9.3.3.
* gnu/packages/maths.scm (dealii): Update to 9.3.3.
* gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch:
Delete file.
* gnu/packages/patches/dealii-fix-sundials.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
240b604eda
gnu: dealii: Add SUNDIALS dependency.
* gnu/packages/maths.scm (dealii)[propagated-inputs]: Add sundials-5.
Reformat list to clarify comment.
(dealii-openmpi)[propagated-inputs]: Add sundials-openmpi-5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
d34f941c33
gnu: dealii-openmpi: Remove input labels.
* gnu/packages/maths.scm (dealii-openmpi)[inputs]: Remove labels.
[propagated-inputs]: Same.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
e131f705dd
gnu: dealii: Remove trailing booleans.
* gnu/packages/maths.scm (dealii)[snippet]: Remove trailing boolean (and
therefore the 'begin').
[native-inputs, inputs]: Reindent.
[arguments]<#:phases>: Remove trailing boolean.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
e648957b7b
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>
2022-05-03 18:02:27 +02:00
Paul A. Patience
d1a6a795b3
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>
2022-05-03 18:02:27 +02:00
Paul A. Patience
4c509a73b7
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>
2022-05-03 18:02:27 +02:00
Paul A. Patience
0d3c2c9543
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
61bcd648ca, 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
61bcd648ca.
<#: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>
2022-05-03 18:02:27 +02:00
Paul A. Patience
a3b6a4df6c
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>
2022-05-03 18:02:27 +02:00
Ludovic Courtès
7855a9366b
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'.
2022-05-03 18:02:27 +02:00