Commit graph

127781 commits

Author SHA1 Message Date
Felix Gruber
8803100072
gnu: Add python-pyfma.
* gnu/packages/python-science.scm (python-pyfma): New variable.

Change-Id: I354d3d56f2799c8c9ac9b868fcacbf88dcc5c25d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Felix Gruber
7068bb376f
gnu: Add python-perfplot.
* gnu/packages/python-xyz.scm (python-perfplot): New variable.

Change-Id: I04266dfd7081bd3f917a48b2667137b829680498
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Felix Gruber
66685821dc
gnu: Add python-cplot.
* gnu/packages/python-xyz.scm (python-cplot): New variable.

Change-Id: I8e634799954b120e00d900ae26b16af1717d4474
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Felix Gruber
e30385d8d7
gnu: Add python-npx.
* gnu/packages/python-xyz.scm (python-npx): New variable.

Change-Id: I9520ce12a936c68d38f2ac706165eff816d8b1ad
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Felix Gruber
bbb33a12fe
gnu: Add python-matplotx.
* gnu/packages/python-xyz.scm (python-matplotx): New variable.

Change-Id: I354732edeaa30cbae506e78a16f42e66edb3011b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Felix Gruber
f76ffc3ea6
gnu: Add python-meshzoo.
* gnu/packages/python-science.scm (python-meshzoo): New variable.

Change-Id: Ia41d62ebd6c4cb3c22ebe0668c36279a9ca191ac
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Nicolas Graves
ff9d32df33
gnu: beep: Add phase install-rules.
* gnu/packages/terminals.scm (beep): Add phase install-rules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:36 +01:00
Greg Hogan
af2735e874
gnu: abseil-cpp: Update to 20230802.1.
* gnu/packages/cpp.scm (abseil-cpp): Update to 20230802.1.
[arguments]<#:phases>: Add phase to set timezone environment variable.
* gnu/packages/cpp.scm (abseil-cpp-20220623.1): Keep old version.
* gnu/packages/cpp.scm (abseil-cpp-for-c++-standard): Accept package to
inherit from.
* gnu/packages/cpp.scm (abseil-cpp-cxxstd11, abseil-cpp-cxxstd17):
Inherit from latest supported version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I7c29e1cd980b04496000eeb038529cdc6f636cb7
2023-12-04 22:26:36 +01:00
Andy Tai
49c009aabb
gnu: wxwidgets: Update to 3.2.3.
* gnu/packages/wxwidgets.scm (wxwidgets): Update to 3.2.3

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I2f3a6f89d2a5b931c70c6509c8165027424e5ed0
2023-12-04 22:26:36 +01:00
Ludovic Courtès
06b9c1260c
substitute: Do not exit when failing to find a nar.
Fixes <https://issues.guix.gnu.org/67575>.

* guix/scripts/substitute.scm (process-substitution/fallback): Use
‘report-error’ instead of ‘leave’.  Write status line to PORT.
* tests/substitute.scm ("substitute, narinfo is available but nar is
missing"): Adjust accordingly.

Change-Id: Ic7297dbd563c007111ec2167c8d52505a07d4822
2023-12-04 22:26:36 +01:00
Ludovic Courtès
d83d4488da
daemon: Simplify “empty status” substitute error message.
* nix/libstore/build.cc (SubstitutionGoal::finished): Don’t show what
the empty status looks like.

Change-Id: Ie898432aeb047aff3d59024de6ed6d18f68903c4
2023-12-04 22:26:36 +01:00
Sharlatan Hellseher
33f9d3cc36
gnu: python-cdflib: Disable shaky test.
* gnu/packages/astronomy.scm (python-cdflib): Disable one test which
causes random build failure.
[arguments]{test-flags}: Add it.

Change-Id: I05ee2feca3bc0f0139fa1a5f00b4fe260b42ec80
Signed-off-by: Eric Bavier <bavier@posteo.net>
2023-12-04 14:49:33 -06:00
Andy Tai
597f1cd1c4
gnu: octave: Update to 8.4.0
* gnu/packages/maths.scm (octave-cli): Update to 8.4.0

Change-Id: I88fe31a25a3fbfc28985f5f0b51cb042369f4462
Signed-off-by: Eric Bavier <bavier@posteo.net>
2023-12-04 08:54:31 -06:00
Efraim Flashner
1d2d6aaeaf
Revert "build/go: Don't use set!"
This causes too many rebuilds.

This reverts commit 0a4b6fd51a.
2023-12-04 13:19:53 +02:00
Greg Hogan
61cc93e49c
gnu: ddcutil: Update to 1.4.5.
* gnu/packages/hardware.scm (ddcutil): Update to 1.4.5.

Change-Id: I293c09af1020bcc02d9d99d636a2e64ebc25ad58
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-04 11:52:26 +02:00
Sharlatan Hellseher
a2f7a37a98
gnu: Add julia-astrolib.
* gnu/packages/julia-xyz.scm (julia-astrolib): New variable.

Change-Id: I41fc21728b3bc2d20c2e6c83a6ea1185086a015e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-04 11:52:26 +02:00
Efraim Flashner
0a4b6fd51a
build/go: Don't use set!
This causes build failures on powerpc-linux.

* guix/build/go-build-system.scm (unpack): When the unpack-path is unset
use the import-path but don't redefine the unpack-path.

Change-Id: I2b5a36eb738abb14307941d388038139dbaf2bdf
2023-12-04 11:52:22 +02:00
Andy Tai
6e2dd51df5
gnu: xpra: Update to 5.0.4.
* gnu/packages/xorg.scm (xpra): Update to 5.0.4

Change-Id: Id995cd3176628ff2034ccce139b01786b54dc91d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Michal Atlas
4d934786c0
gnu: gmnisrv: Fix typo.
* gnu/services/web.scm (gmnisrv-service-type): Change the service name to gmnisrv

Change-Id: I1ca46c312db851486313c431fe0454786f0a673e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Leo Nikkilä
25de8f3c5e
gnu: kpackage: Work around flaky test.
When parallel tests are enabled, plasma-querytest can fail with:

    5/11 Test  #5: plasma-querytest ....................Subprocess aborted***Exception:   0.02 sec
    ********* Start testing of QueryTest *********
    Config: Using QtTest library 5.15.10, Qt 5.15.10 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
    PASS   : QueryTest::initTestCase()
    QFATAL : QueryTest::installAndQuery() QThread: Destroyed while thread is still running
    FAIL!  : QueryTest::installAndQuery() Received a fatal error.
    Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 3ms
    ********* Finished testing of QueryTest *********

I'm able to consistently reproduce this on an aarch64-linux machine.
`guix build --cores=1' can also work around this.

* gnu/packages/kde-frameworks.scm (kpackage): Work around flaky test.
[arguments]<#:parallel-tests?>: Disable.  Follows what Debian has done.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Greg Hogan
9f66582ed0
gnu: xe: Update to 1.0.
* gnu/packages/parallel.scm (xe): Update to 1.0.

Change-Id: If881efcd1db46fddd33b48e044ea02ee73e4a98e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Greg Hogan
2630c533a2
gnu: xonsh: Update to 0.14.2.
* gnu/packages/shells.scm (xonsh): Update to 0.14.2.

Change-Id: Id21fa37467aa8dbcc58330108c4b7bc19a46949f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Spencer King
1308f0fe0e
gnu: Add python-islenska.
* gnu/packages/python-xyz.scm (python-islenska): New variable.

Change-Id: Id9acd04d625bbbdef0438b1b98b73550e826088d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:08 +01:00
Gabriel Wicki
27c24ce83f
gnu: igt-gpu-tools: Update to 1.28
* gnu/packages/admin.scm (igt-gpu-tools): Update to 1.28.
[source]: Remove patch.
[inputs]: Add python.
* gnu/packages/patches/igt-gpu-tools-Use-libproc2.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I5dccd7d5a5df0084fabf713949940775671aecd7
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:08 +01:00
Ludovic Courtès
2447c1b608
packages: Honor target system for the inputs to ‘patch-and-repack’.
* guix/packages.scm (%standard-patch-inputs): Add ‘system’ parameter.
Parameterize ‘%current-system’.
(patch-and-repack): Pass SYSTEM to ‘%standard-patch-inputs’.

Change-Id: Ic8ad93303332fd1eefba0a93a314f99db782eda6
2023-12-03 23:55:08 +01:00
Ludovic Courtès
3dda74a546
grafts: Use the right locale package.
This is a followup to b0715d7cd2, fixing
builds of grafts on i586-gnu.

* guix/grafts.scm (graft-derivation/shallow)[glibc-locales]: Choose
symbol as a function of ‘target-hurd?’.

Change-Id: I05e50c0ed74a64986a0cea9c6302d1b5592b898d
2023-12-03 23:55:08 +01:00
Saku Laesvuori
ab8612d99e
guix: import: Fix parsing Cabal files that import many stanzas
* guix/import/cabal.scm (eval-cabal)[eval]: Split imports to a
normalized list before mapping over it.
* tests/hackage.scm: Test it.

Change-Id: I39ece019251b6a23a937c8562d2d4a545a6bc7df
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 16:15:29 +01:00
Janneke Nieuwenhuizen
2c9ac9ab20
gnu: mes: Update to 0.26.
* gnu/packages/mes.scm (mes): Update to 0.26.

Change-Id: I0c88da0de34014aa10d317db1e997cb015e23d28
2023-12-03 11:51:17 +01:00
Saku Laesvuori
5bd00bb542
guix: import: Parse cabal layout blocks correctly
Cabal consideres lines to be part of a layout block if they are indented
at least one space more than the field line the block belongs to.
Previously Guix considered lines to be a part of the block if they were
indented at least as much as the first line in it.

This also makes a workaround that enabled if statements to have multiple
elses redundant and removes it.

Fixes: https://issues.guix.gnu.org/35743

* guix/import/cabal.scm (current-indentation*): Renamed from
current-indentation.
(previous-indentation, current-indentation): New variables.
(make-cabal-parser): Remove outdated comment.
[open]: Use previous-indentation + 1 instead of
current-indentation.
[elif-else]: Split to elif and else to allow only one ELSE in an if
statement.
(read-cabal)[parameterize]: Use current-indentation* and previous-indentation.
* tests/hackage.scm (hackage->guix-package test mixed layout): Expect to
  pass.

Change-Id: I3a1495b1588a022fabbfe8dad9f3231e578af4f3
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Saku Laesvuori
acef524961
guix: import: stackage: Fix crash on recursive import
* guix/import/stackage.scm (lts-package-version): Call
  stackage-package-version only when the package is found.

Change-Id: Ic8d7c1b7a42a9c1a6cbba567e148706507a53ee3
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Saku Laesvuori
160385c013
guix: import: hackage: Fix crash on recursive import
Fixes: https://issues.guix.gnu.org/64734

* guix/import/hackage.scm (hackage-module->sexp): Return package names
  instead of <upstream-input> records.

Change-Id: Id428a8b903b4b59d44205ca366324a0a69a4e05b
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Efraim Flashner
8267a3a206
gnu: ncdu-2: Mark as tunable.
* gnu/packages/ncdu.scm (ncdu-2)[properties]: Mark package as tunable.

Change-Id: I9cd9bd45be6c32c44da983432d69128657b98591
2023-12-03 09:58:34 +02:00
Ekaitz Zarraga
2cc6e09a03
transformations: Add support for zig.
* guix/transformations.scm (tuning-compiler): Add support for zig.

Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-03 09:58:34 +02:00
Efraim Flashner
87bb9c9664
gnu: zig: Add tuning information.
* gnu/packages/zig.scm (zig-0.9, zig-0.10)[properties]: Add
clang-properties matching input clang packages.

Change-Id: Ib4a665a29e925b85d0e7695810a8889951dd1602
2023-12-03 09:54:57 +02:00
Efraim Flashner
95b577e09a
gnu: llvm: Export clang-properties.
* gnu/packages/llvm.scm (clang-properties): Export variable.

Change-Id: If5ef5219c3d29a347ae5ad97584c23bafdabf836
2023-12-03 09:54:57 +02:00
Efraim Flashner
823c6f745a
gnu: ncdu-2: Remove redundant make-flag.
* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Remove make-flag setting
CPU to baseline.

Change-Id: If2770d381404621648f53a8e64da8ffafcc33a8d
2023-12-03 09:54:03 +02:00
Ekaitz Zarraga
a8a7153996
gnu: zig: Build with baseline cpu by default.
* gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Add file.
* gnu/packages/zig.scm (zig-0.10.1): Apply patch above.
* gnu/local/mk (dist_patch_DATA): Register it.

Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-03 09:54:03 +02:00
Efraim Flashner
766946d663
gnu: ldc: Update to 1.35.0.
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0.
[arguments]: Adjust configure-flags to not build shared libraries.
(ldc)[arguments]: Adjust configure-flags to remove defaults.  Adjust
'patch-paths-in-tests phase for another hardcoded /bin/bash.  Delete
another test.

Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195
2023-12-02 20:39:28 +02:00
Efraim Flashner
6897a6a481
gnu: python-lit: Update to 17.0.6.
* gnu/packages/check.scm (python-lit): Update to 17.0.6.
[native-inputs]: Remove llvm-14; add llvm.

Change-Id: I45ccc5302c2481b82f26201e66994e15eeaecc9d
2023-12-02 20:39:27 +02:00
Efraim Flashner
fc7db2df40
gnu: ldc: Enable building on more architectures.
* gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase
'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to
pass-through unmatched architectures.
2023-12-02 20:39:22 +02:00
Julien Lepiller
06ebc45e15
gnu: josm: Reduce closure size.
This saves 240MB of closure size.

* gnu/packages/geo.scm (josm)[inputs]: Add openjdk11.
[arguments]: Filter native inputs out of CLASSPATH.  Use `java' from
openjdk11 instead of the JDK.

Change-Id: Ifa03b5cd033c5866d22e7557119284be0ea25a0e
2023-12-02 19:07:56 +01:00
Julien Lepiller
a640ce3fb2
gnu: java-openjfx-graphics: Make java-swt optional.
It is used for an optional part of openjfx and not used by current
packages in Guix. Swt has a reference to a library in the JDK and has a
huge closure size because of that.  This reduces closure by 1GB for this
package and dependents (including josm).

* gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt...
[inputs]: ...to here.

Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190
2023-12-02 19:07:51 +01:00
Julien Lepiller
406e46a159
gnu: javacc: Do not reference a jdk.
The jdk provides java and javac, while a jre only provides the necessary
java, reducing the closure size by 350MB.

* gnu/packages/java.scm (javacc): Remove #t at end of phases.
[inputs]: Add icedtea-8 as the jre.
[arguments]: Use it instead of the jdk.

Change-Id: Icb218c40915550b7ff1db96a48a3c48fa6ef52b4
2023-12-02 19:07:45 +01:00
Filip Lajszczak
7ab24d717d
gnu: hut: Update to 0.4.0
* gnu/packages/version-control.scm (hut): Update to 0.4.0

Change-Id: Ib5dc28de6dbc3b69ca55a9530b923f71ca0ce7b5
Signed-off-by: Andrew Tropin <andrew@trop.in>
Co-authored-by: Andrew Tropin <andrew@trop.in>
2023-12-02 18:16:23 +03:00
Filip Lajszczak
2baad07da4
gnu: go-git-sr-ht-emersion-gqlclient: Update to 0.0.0-20230820050442-8873fe0204b9
* gnu/packages/golang.scm (go-git-sr-ht-emersion-gqlclient): Update to 0.0.0-20230820050442-8873fe0204b9

Change-Id: I15a35a0f25dd248938839ae766569e6fbf304ed6
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-12-02 18:09:05 +03:00
Janneke Nieuwenhuizen
7668bfa222
gnu: guix: Update to 1.4.0-16.aeb494322c.
* gnu/packages/package-management.scm (guix): Update to 1.4.0-16.aeb494322c.

Change-Id: Iae1af05094a1a589096a77ed61cf11dcec50f7a8
2023-12-02 15:37:44 +01:00
Hugo Nobrega
aeb494322c
gnu: d-tools: Update to 2.105.3.
The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib

* gnu/packages/dlang.scm (d-tools): Update to 2.105.3.

Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:35:01 +01:00
Timothee Mathieu
daf69ad3ab
gnu: Add python-scikit-learn-extra.
* gnu/packages/machine-learning.scm (python-scikit-learn-extra): New variable.

Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5

gnu/packages/machine-learning.scm | 41 +++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:35:01 +01:00
Filip Lajszczak
4fb51904cb
gnu: python-pythonanywhere: Update to 0.12.1
* gnu/packages/python-xyz.scm (python-pythonanywhere): Update to 0.12.1

Change-Id: I3436ed7fbbe3e3dae2c5e47fa1c96cc0fd750f76
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00
David Elsing
808f919063
gnu: igraph: Update to 0.10.7.
* gnu/packages/graph.scm (igraph): Update to 0.10.7.
[source]: Use git-fetch. Apply patch.
<snippet>: Remove the entire "vendor" and "src/isomorphism/bliss" directories.
Patch CMakeLists.txt to not build and use vendored dependencies.
[arguments]: Add -DIGRAPH_INTEGER_SIZE=64 to #:configure-flags. Add phases to
use unbundled libraries and build documentation.
[native-inputs]: Add bison, docbook-xml-4.3, docbook-xsl, flex, pcg-c, python,
source-highlight and xmlto.
[inputs]: Remove gmp and libxml2. Add bliss and suitesparse-cxsparse.
* gnu/packages/patches/igraph-fix-varargs-integer-size.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00