Commit graph

1626 commits

Author SHA1 Message Date
David Elsing
7f3a4779af
gnu: netcdf: Build with libaec.
* gnu/packages/maths.scm (netcdf)[inputs]: Add libaec.

Change-Id: Ia6a0b742b7e590930c308434b59988e374ccff85
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-30 19:47:37 +02:00
David Elsing
6c46206865
gnu: hdf-java: Update to 1.14.6 and rename to hdf5-java.
* gnu/packages/maths.scm (hdf-java): Define as deprecated alias for...
(hdf5-java): ...this new variable. Update to 1.14.6.
[name]: Rename to hdf5-java.
[version]: Use the same as hdf5.
[source]: Use the same as hdf5.
[build-system]: Change to cmake-build-system.
[arguments]: Adjust #:configure-flags. Add (guix build ant-build-system)
to #:modules and #:imported-modules. Adjust 'unbundle phase. Add
'patch-trace-shebang, 'generate-flexbison, 'generate-headers and
'strip-jar-timestamps phases.
[native-inputs]: Use modify-inputs. Add java-slf4j-nop and zip.
[inputs]: Remove hdf4 and hdf5.
[synopsis, description]: Remove mention of HDF4.
[license]: Use the same as hdf5.

Change-Id: Idfceec17b9a8c432ab85e2fcc87de6bb5bd5a422
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-30 19:47:37 +02:00
David Elsing
8eeb04e205
gnu: hdf5: Update to 1.14.6.
* gnu/packages/maths.scm (hdf5): Update to 1.14.6. Do not inherit from
hdf5-1.8.
[name, version]: New field.
[source]: Switch to git-fetch. Add modules and snippet fields. Use different
patch file.
[build-system]: New field. Use CMake.
[inputs]: New field.
[native-inputs]: New field. Add bison, flex and which.
[arguments]: Do not inherit from hdf5-1.8.
<#:configure-flags>: New field.
<#:phases>: New field. Use gexps. Remove 'patch-configure, 'patch-settings,
'patch-references, 'split, 'skip-version-test and
'patch-configure-build-settings phases.  Add 'make-gen-deterministic,
'generate-flexbison, 'patch-trace-shebang, 'fix-fortran-i686-test and
'generate-headers phases.
[home-page, synopsis, description]: New fields.
[license]: New field. Adjust URL.
(hdf5-parallel-openmpi)[inputs]: Use modify-inputs and drop labels.
[arguments]<#:configure-flags> Use flags for CMake.
<#:phases>: Delete 'patch-tests phase.
* gnu/packages/patches/hdf5-config-dependencies.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: If3a97fe7e252cc48a050ac396a68a87a02600916
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-30 19:47:29 +02:00
Andreas Enge
7bd1247c90
gnu: hdf5-blosc: Update to 1.0.1.
* gnu/packages/maths.scm (hdf5-blosc): Update to 1.0.1.

Change-Id: Ie782107c205e8d569a5d6e6ca80dc9f944786542
2025-04-30 18:19:42 +02:00
Andreas Enge
23a18b9a3a
gnu: hdf5-blosc: Update input.
* gnu/packages/maths.scm (hdf5-blosc)[inputs]: Remove hdf5-1.10;
add hdf5.

Change-Id: Ib9356732ffacac001997ac3343b0d57bda14366d
2025-04-30 18:19:35 +02:00
Andreas Enge
8431f96391
gnu: highs: Cosmetic changes.
This adds small changes that were forgotten in the previous commit.

* gnu/packages/maths.scm (highs): Do not use a git revision since this
is a regular release.

Change-Id: I56c6401f8569cc3268892dabfe38ac4658ad8953
2025-04-30 16:33:55 +02:00
Wiktor Żelazny
feef374f4b
gnu: Add highs.
* gnu/packages/maths.scm (highs): New variable.

Change-Id: Ie842704d4d9c8a4b531ee45aab34a99e59e4b3c4
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-30 16:21:42 +02:00
Ludovic Courtès
1b1230e534
gnu: scotch: Update to 7.0.7.
* gnu/packages/maths.scm (scotch): Update to 7.0.7.

Change-Id: Idef8e0956d9da1aef13fb423c53db60b6a61b04b
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 19:11:34 +02:00
Ludovic Courtès
ecd1e93590
gnu: scotch, scotch32, pt-scotch, pt-scotch32: Use gexps.
* gnu/packages/maths.scm (scotch, scotch32)
(pt-scotch, pt-scotch32): Use gexps.

Change-Id: I93febc994c5345e133eddbd016b1974d08df5bdf
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 19:11:24 +02:00
Ludovic Courtès
665bbd0413
gnu: scotch: Remove CMake machinery for the Metis compatibility layer.
This fixes a bug whereby ‘SCOTCHConfig.cmake’ would fail to find
‘scotchmetisTargets.cmake’ because it expects it to be in the same
directory as itself, ${CMAKE_CURRENT_LIST_DIR}.

* gnu/packages/patches/scotch-cmake-remove-metis.patch: New file.
* gnu/packages/maths.scm (scotch)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: If8d8f890852c35cede6e81c33d18b9101988a635
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 19:10:18 +02:00
Ludovic Courtès
1a89332388
gnu: scotch: Remove “-shared” deprecated aliases.
These aliases were added in commit
d4709d78c3, Feb. 2022.

* gnu/packages/maths.scm (scotch-shared, pt-scotch-shared): Remove.

Change-Id: I971bbf999a9fce5dae05c865316defe55eaeb212
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 19:09:06 +02:00
Andreas Enge
b3a5bd2ce5
gnu: Remove atlas.
* gnu/packages/maths.scm (atlas): Delete variable.

The package does not build anymore. Its last release dates from 2016.
After the removal of shogun there are no other dependent packages.

Change-Id: Ibe988d33451b63ef7680b6c0a19cff6430a42a68
2025-04-29 11:32:08 +02:00
Andreas Enge
46a0d498bc
gnu: Remove h5check.
The package has no dependents and appears to be unmaintained. The source
code has vanished under the given URL. According to
   https://issues.guix.gnu.org/64448
it does not compile any more with current versions of hdf5.

* gnu/packages/maths.scm (h5check): Delete variable.

Change-Id: Ia7ced02059734cf8a5a2db39bbe0f1b38f67df12
2025-04-29 11:26:10 +02:00
Maxim Cournoyer
89de2cb1ef
gnu: itpp: Add LAPACK support and use gexps.
This is needed to run some functions needed by the test suite of mia, for
example.

* gnu/packages/maths.scm (itpp) [arguments]: Use gexps.
[inputs]: Add lapack.
[native-inputs]: Remove labels.

Change-Id: I58b31272ceaf5bdfbbcc0f769ab2418c4b7613d3
2025-04-23 22:24:15 +09:00
Sharlatan Hellseher
e63728d0f0
gnu: Remove python-networkx-next.
It's the same version variant as python-networkx.

* gnu/packages/python-xyz.scm (python-networkx-next): Delete variable.
* gnu/packages/maths.scm (python-mathics-django) [propagated-inputs]:
Remove python-networkx-next; add python-networkx.

Change-Id: Iedc48767af728ff258cc7b2d453f979eb1cc70e4
2025-04-16 11:46:33 +02:00
Sharlatan Hellseher
4c08d7037a
gnu: python-pyglm: Move to maths.
* gnu/packages/python-science.scm (python-pyglm): Move from here ...
* gnu/packages/maths.scm: ... to here.

* gnu/packages/gnome-xyz.scm: Add (gnu packages maths); remove (gnu
packages python-science).

Change-Id: I49ab732c1070210d005f8753c1e894c9abc3ee8b
2025-04-16 11:46:32 +02:00
Sharlatan Hellseher
41b2716442
gnu: glm: Update to 1.0.1.
* gnu/packages/maths.scm (glm): Update to 1.0.1. Apply a list style.
[source]: Switch to git-fetch.
[arguments] <phases>: Remove 'set-environment as
<https://github.com/g-truc/glm/pull/1087> is resolved.  Use default
'install as <https://github.com/g-truc/glm/pull/968> is resolved.
Add 'post-install.

Change-Id: Ibda3768102ac94f6ef69057bfccd8716f7f91d0e
2025-04-16 11:46:32 +02:00
Nicolas Graves
2be1c0e507
gnu: veusz: Update to 3.6.2.
* gnu/packages/maths.scm (veusz): Update to 3.6.2.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style, use gexps.
{phases}: Remove phase 'fix-sip-dir. Add phase
'fix-pyqt5-include-dir. Refresh phase 'wrap-executable.
[native-inputs]: Add python-astropy, python-setuptools,
python-wheel. Remove python-sip-4.
[inputs]: Add qtwayland-5.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Sharlatan Hellseher
2e7ba7a88e
gnu: python-quadpy: Deselect one failing test.
* gnu/packages/maths.scm (python-quadpy) [arguments] <test-flags>:
Deselect one failing test.

Change-Id: I29ab3db45afb70928125773644b8704f9b731ada
2025-04-16 11:46:22 +02:00
Sharlatan Hellseher
f7cc9940e0
gnu: python-orthopy: Skip some tests, fix build.
* gnu/packages/maths.scm (python-orthopy) [arguments] <test-flags>: Skip
5 failing tests.

Change-Id: Ic5e55d9a8a054eaba9f685e134a366dbfaa9bd8d
2025-04-16 11:46:22 +02:00
Artyom Bologov
89a0d64ebc
gnu: openblas: Add debug output.
* gnu/packages/maths.scm (openblas): Add "debug" output
[outputs]: Add argument, add "debug" output
[arguments]<#:make-flags>: Add DEBUG=1 flag
2025-04-16 11:01:23 +02:00
Ricardo Wurmus
abb33f634a
gnu: openblas: Update to 0.3.29.
* gnu/packages/maths.scm (openblas): Update to 0.3.29.
(openblas-0.3.29): Define as alias.

Change-Id: I9a17f2efb2af026a2d19cd000f2b9c284cf94197
2025-04-16 11:00:42 +02:00
nomike
c40d6876fe
gnu: opencascade-occt: Move doxygen to native-inputs.
* gnu/packages/maths.scm (opencascade-occt)[inputs]: Move doxygen from
here...
[native-inputs]: ...to here.

Change-Id: I5382f1a1552afebb286d01ffc292dc8cbfbb75af
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-15 23:19:16 +02:00
nomike
8deffd7e7a
gnu: opencascade-occt: Fix new version detection
Previously an upgrade from 7.6.2 to the older 2017.73 would be
suggested.

* gnu/packages/maths.scm (opencascade-occt)[properties]: Add
release-tag-prefix and release-tag-version-delimiter.

Change-Id: I079accd7da6d5e1ae7438bb0fd8428e9d8733b16
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-15 21:51:28 +02:00
Luca Cirrottola
a729c88f67
gnu: netcdf-cxx4, netcdf-cxx4-parallel-openmpi: Propagate netcdf.
* gnu/packages/maths.scm (netcdf-cxx4)[inputs]: Move netcdf from here...
[propagated-inputs]: ...to here.
(netcdf-cxx4-parallel-openmpi)[propagated-inputs]: New field.

Change-Id: I6d92e89f75e4e5cbf8d46be6b1ca331999606673
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-07 12:43:02 +02:00
Sharlatan Hellseher
f791ecaf43
gnu: python-ducc0: Update to 0.37.1.
* gnu/packages/maths.scm (python-ducc0): Update to 0.37.1.
[arguments] <test-flags>: Run tests in parallel, supported by upstream.
[native-inputs]: Remove python-wheel; add cmake-minimal,
python-nanobind, python-pytest-xdist, and python-scikit-build-core.

Change-Id: Iedc5f5ce49c50f8b72a120f592982baad06be89f
2025-03-31 21:04:09 +01:00
Luca Cirrottola
3489c0995c
gnu: petsc: Activate higher compiler optimization.
* gnu/packages/maths.scm (petsc)[arguments]<#:configure-flags>: Add
compiler optimization flags.

Change-Id: Iaadb462e002615448014db44248b0c116b246150
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-03-31 12:59:04 +02:00
David Elsing
a3559c3baa
gnu: hdf-java: Update to 1.14.3.
* gnu/packages/maths.scm (hdf-java): Update to 1.14.3.
[arguments]: Adjust dependency versions in 'unbundle phase.
[home-page]: Update.
[license]: Update URL.

Change-Id: I43db316c3a83f5ddac14b0c670430811dcac6bdc
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-03-31 10:30:10 +02:00
Andreas Enge
309e23567e
gnu: hdf5: Make hdf5@1.14 the default version.
This replaces all inputs hdf5@1.10 by hdf5@1.14 unless explicitly
specified otherwise.

* gnu/packages/maths.scm (hdf5-1.14): Rename to...
(hdf5): ...this, which was previously defined as hdf5-1.10.
(hdf-eos5, hdf5-parallel-openmpi, scilab): Adapt variable names.
* gnu/packages/bioinformatics.scm (fast5, ncbi-vdb),
gnu/packages/cran.scm (r-h5), gnu/packages/image.scm (vigra)[inputs]:
Keep hdf5-1.10.

Change-Id: Ie43a13ecbb4da597ec1d3f7c0428102b45881485
2025-03-31 10:29:57 +02:00
Luca Cirrottola
c31662f729
gnu: hypre: Fix documentation.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add ghostscript.
[arguments]<phases>{build-docs}: Set $HOME so that fontconfig finds a
directory for writing its cache.

Change-Id: I46635f262a0d3ecd4114d1d673da635232522915
Co-authored-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-03-28 22:34:54 +01:00
Luca Cirrottola
aedbde9052
gnu: hypre: Update to 2.32.0.
* gnu/packages/maths.scm (hypre): Update to 2.32.0.
[inputs]: Add python-sphinx-rtd-theme.

Change-Id: I278cb9ac088cdd40075b2b10d10cef9451cd17cc
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-03-28 21:47:35 +01:00
Liliana Marie Prikler
762b497946
gnu: Add lis.
* gnu/packages/maths.scm (lis): New variable.

Change-Id: I68bf93787346815912d02b919cb5c9acf884483e
2025-03-26 21:47:29 +01:00
Maxim Cournoyer
aa0bb0990e
gnu: yices: Use gexp variables.
* gnu/packages/maths.scm (yices): [phases] <fix-build-files>: Use gexp
variable.

Change-Id: If40f787e3c6535edd14aec833de8beff79213d95
2025-03-22 22:52:25 +09:00
Andy Tai
ac19daa9d4
gnu: octave: Update to 9.4.0
*  gnu/packages/maths.scm (octave-cli): Update to 9.4.0

Change-Id: I9891e6f2a85b5909725f5fa5b45edaaa65594cfa
Signed-off-by: Eric Bavier <bavier@posteo.net>
2025-03-12 10:20:13 -05:00
Danny Milosavljevic
88eaa9e726
gnu: python-mathics-django: Update to 8.0.1.
* gnu/packages/maths.scm (python-mathics-django): Update to 8.0.1.

Change-Id: I6c00d8e43457c1541b205b052e0219991ce06805
2025-03-10 22:24:34 +01:00
Danny Milosavljevic
712aadb790
gnu: python-mathics-core: Update to 8.0.1.
* gnu/packages/maths.scm (python-mathics-core): Update to 8.0.1.

Change-Id: I97d568dbabde8d074525bc5e850f247d9e17fcfd
2025-03-10 22:24:00 +01:00
Lars Bilke
d444d24f81
gnu: pnetcdf: Add missing zlib input.
* gnu/packages/maths.scm (pnetcdf): Add missing zlib input.

Change-Id: I8b0c143cce016d6cfb2ffe8923f1380452a7e8ac
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-03-03 00:34:38 +09:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Vagrant Cascadian
e81dd8e2c7
gnu: Fix typos in description and synopsis in various packages.
* gnu/packages/crates-database.scm (rust-sqlformat-0.2)[description]: Fix
spelling of "formatting".
* gnu/packages/emacs-xyz.scm (emacs-arei)[synopsis]: Fix spelling of
"Asynchronous".  (emacs-ob-racket)[description]: Fix spelling of "support".
* gnu/packages/firmware.scm (fcode-utils)[description]: Fix spelling of
"utilities".  (sgabios)[description]: Fix spelling of "capabilities".
* gnu/packages/games.scm (qcheckers)[description]: Fix spelling of "formerly".
* gnu/packages/geo.scm (python-ogr2osm)[description]: Fix spelling of
"PostgreSQL".
* gnu/packages/guile-xyz.scm (guile-ares-rs)[synopsis]: Fix spelling of
"Asynchronous".  (guile-rsv)[description]: Fix spelling of "Separated".
* gnu/packages/julia-xyz.scm (julia-multivariatepolynomials)[description]: Fix
spelling of "implementing".
* gnu/packages/language.scm (mecab)[description]: Fix spelling of "developed".
* gnu/packages/lisp-xyz.scm (sbcl-cl-json-pointer)[description]: Fix spelling
of "library".
* gnu/packages/machine-learning.scm (ideep-pytorch)[synopsis]: Fix spelling of
"internal".
* gnu/packages/maths.scm (suitesparse-cholmod)[description]: Fix spelling of
"routines".
* gnu/packages/ocaml.scm (ocamlc-loc)[description]: Fix spelling of
"compiler".
* gnu/packages/pdf.scm (capypdf)[description]: Fix spelling of "library".
* gnu/packages/ruby.scm ruby-silent-stream)[description]: Fix spelling of
"Extensions".  (ruby-fileutils)[synopsis]: Fix spelling of "library".
* gnu/packages/rust-apps.scm (kibi)[description]: Fix spelling of
"highlighting".
* gnu/packages/scheme.scm (owl)[description]: Fix spelling of "support".
* gnu/packages/statistics.scm (r-mixedpower)[description]: Fix spelling of
"separate".
* gnu/packages/sugar.scm (sugar-commander-activity)[description]: Fix spelling
of "removable".
2025-02-17 13:35:32 -08:00
Ricardo Wurmus
959a88e6f4
gnu: Add openblas-0.3.29.
* gnu/packages/maths.scm (openblas-0.3.29): New variable.

Change-Id: I8727a024db201cda8360a656bc525b0b1e572452
2025-02-17 15:00:22 +01:00
Andreas Enge
328b4e30c6
gnu: Add maxima-ecl.
* gnu/packages/maths.scm (maxima-ecl): New variable.

Change-Id: I71a14d064e67aa34fdd7f6eb8499dfbd1dea11b9
2025-02-15 21:17:46 +01:00
Lars Bilke
3a91693531
gnu: gmsh: Update to 4.13.1.
* gnu/packages/maths.scm (gmsh): Update to 4.13.1.

Change-Id: Iee56d09055f0803c4f4bc432402dadb3d34bc107
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-14 10:55:55 +00:00
Vinicius Monego
0275e4856b
gnu: Add glucose.
* gnu/packages/maths.scm (glucose): New variable.

Change-Id: I8e9031db55aa98ddde82ea676d3287656f7c4288
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-02-10 14:27:57 +01:00
Vinicius Monego
a30b2431bf
gnu: Add hpcombi.
* gnu/packages/maths.scm (hpcombi): New variable.

Change-Id: I64eb46aa4002a2291ae59122e083998a9c846eaf
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-02-10 14:27:57 +01:00
Vinicius Monego
c49d158d35
gnu: Add python-cylp.
* gnu/packages/maths.scm (python-cylp): New variable.

Change-Id: Id3467bc34833472aa7fca3416801a5fbf5c033e6
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-02-10 14:27:57 +01:00
Vinicius Monego
66b01927f8
gnu: python-cvxopt: Update to 1.3.2.
* gnu/packages/maths.scm (python-cvxopt): Update to 1.3.2.

Change-Id: I7924821a69e092da529a5188df3d1b2e3f4eed49
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-02-10 14:27:57 +01:00
Danny Milosavljevic
7b7f652a9b
gnu: python-mathics-core: Update to 8.0.0.
* gnu/packages/maths.scm (python-mathics-core): Update to 8.0.0.
[arguments]<#:phases>[patch-bugs]: Modify.
[propagated-inputs]: Add python-pympler, python-stopit.

Change-Id: Ia0f7be188fcbbaa46de9222eed95e5c47ab056aa
2025-02-07 01:20:29 +01:00
Danny Milosavljevic
e6c69965db
gnu: python-mathics-django: Update to 8.0.0.
* gnu/packages/maths.scm (python-mathics-django): Update to 8.0.0.

Change-Id: Ie23035a9fdd2f17318a5df8b8d3d7b83bc271e4b
2025-02-07 01:20:29 +01:00
Danny Milosavljevic
1490337a05
gnu: python-mathicsscript: Update to 8.0.0.
* gnu/packages/maths.scm (python-mathicsscript): Update to 8.0.0.

Change-Id: Ic417f421bb175f19d93803635bf61fb824a52a34
2025-02-07 01:20:29 +01:00
Danny Milosavljevic
9c17d04b4d
gnu: python-mathics-pygments: Update to 1.0.4.
* gnu/packages/maths.scm (python-mathics-pygments): Update to 1.0.4.

Change-Id: I831b34d05eae73cad88277443f9f4e374df257b9
2025-02-07 01:20:29 +01:00