me
/
guix
Archived
1
0
Fork 0
Commit Graph

127755 Commits (ab8612d99eca5c25ecbefe026b04ed9f00e3f8b5)

Author SHA1 Message Date
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
David Elsing aa4959e602
gnu: Add pcg-c.
* gnu/packages/c.scm (pcg-c): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00
Janneke Nieuwenhuizen b0715d7cd2
gnu: Use ‘libc-utf8-locales-for-target’.
* guix/packages.scm (%standard-patch-inputs): Use
‘libc-utf8-locales-for-target’ instead of ‘glibc-utf8-locales’.
* guix/self.scm (%packages): Likewise.
* gnu/home/services/ssh.scm (file-join): Likewise
* gnu/installer.scm (build-compiled-file): Likewise.
* gnu/packages/chromium.scm (ungoogled-chromium/wayland): Likewise.
* gnu/packages/gnome.scm (libgweather4, tracker): Likewise.
* gnu/packages/javascript.scm (js-mathjax): Likewise.
* gnu/packages/package-management.scm (guix, flatpak): Likewise.
* gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader): Likewise.
* gnu/packages/suckless.scm (svkbd): Likewise.
* gnu/services.scm (cleanup-gexp): Likewise.
* gnu/services/base.scm (guix-publish-shepherd-service): Likewise.
* gnu/services/guix.scm (guix-build-coordinator-shepherd-services)
(guix-build-coordinator-agent-shepherd-services): Likewise.
* gnu/services/guix.scm (guix-build-coordinator-queue-builds-shepherd-services):
(guix-data-service-shepherd-services)
(nar-herder-shepherd-services)
(bffe-shepherd-services): Likewise.
* gnu/services/web.scm (anonip-shepherd-service)
(mumi-shepherd-services): Likewise.
* gnu/system/image.scm (system-disk-image, system-iso9660-image)
(system-docker-image, system-tarball-image): Likewise.
* gnu/system/install.scm (%installation-services): Likewise.
* guix/profiles.scm (info-dir-file): Likewise.
(ca-certificate-bundle, profile-derivation): Likewise.
* guix/scripts/pack.scm (store-database, set-utf8-locale): Likewise.
* tests/pack.scm: Likewise.
* tests/profiles.scm ("profile-derivation, cross-compilation"):
Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Christopher Baines <mail@cbaines.net>
Change-Id: I24239f427bcc930c29d2ba5d00dc615960a6c374
2023-12-02 12:25:45 +01:00
Janneke Nieuwenhuizen 9442b53c6b
gnu: Add ‘libc-locales-for-target’ and related.
Partly fixes <https://issues.guix.gnu.org/66472>.

This is a followup to 95ea1277ae.

* gnu/packages/base.scm (glibc-locales/hurd): New variable
(libc-locales-for-target): Use it in new procedure.
(libc-utf8-locales-for-target): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6
2023-12-02 12:25:45 +01:00
Janneke Nieuwenhuizen ea348b105d
gnu: mes: Update to 0.25.1.
* gnu/packages/mes.scm (mes): Update to 0.25.1.
(supported-systems): Remove aarch64-linux (building on aarch64-linux is only
"supported" using armhf-linux compatibility).

Change-Id: I97a95c1e246d5698db6d78f845a188826817f3be
2023-12-02 09:15:50 +01:00
Janneke Nieuwenhuizen a84bb5e600
gnu: mescc-tools: Update to 1.5.2.
* guix/git/mes.scm (mescc-tools): Update to 1.5.2.
(arguments): Remove `patch-Kaem/test.sh' phase.

Change-Id: I47d7f3159a1e6395ffbb9141147c9cbf0676f22b
2023-12-02 09:15:50 +01:00
Lars-Dominik Braun 877086a864
gnu: python-sphinx-prompt: Fix tests.
docutils>=0.19 broke the tests, which upstream fixed in a newer
commit. Cherry-pick it.

* gnu/packages/patches/python-sphinx-prompt-docutils-0.19.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/sphinx.scm (python-sphinx-prompt)[origin]: Use it.

Change-Id: I597387a35e6a1da01063b4812e0f919788a13b54
2023-12-02 07:57:18 +01:00
Bruno Victal 842a11f1ca
gnu: emacs-magit: Update to 3.3.0-7.dda332b.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 3.3.0-7.dda332b.

Copyright-paperwork-exempt: Yes
Change-Id: Icb119958ec806f96ebe18567492a9611c56572e1
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-12-01 13:24:16 +03:00
Florian Pelz efe1a9c9ac
nls: Update translations.
* po/guix/ca.po: New file.
* po/guix/LINGUAS: Add ca.$

Change-Id: Ibae3f58ba702d7c5a4fafdd59a19f70aa8e18212
2023-12-01 08:39:57 +01:00
David Thompson 2b782f6726
gnu: guile-hoot: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-hoot): Update to 0.2.0.

Change-Id: I3bf5f457ef2359588889962ab3bbbc2d47b4a022
2023-11-30 11:58:41 -05:00
Guillaume Le Vaillant c12cf2fb63
gnu: Add ecl-prompter.
* gnu/packages/lisp-xyz.scm (ecl-prompter): New variable.

Change-Id: Ia109971456a95333d0867135f0ece141848ecfe6
2023-11-30 16:03:04 +01:00
Andre A. Gomes 8b3195deaa
gnu: cl-prompter: Update to 0.1.1.
* gnu/packages/lisp-xyz.scm (sbcl-prompter): Update to 0.1.1.
  [source]: Remove snippet.
  [native-inputs]: Remove sbcl-nasdf.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Ie339db2ff722b72f93c15c74e76aeaaf17f3ce7d
2023-11-30 16:00:20 +01:00
Andre A. Gomes 154a4184db
gnu: cl-nhooks: Update to 1.2.2.
* gnu/packages/lisp-xyz.scm (sbcl-nhooks): Update to 1.2.2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I14760fb557e81f503faaac0f73051412f718ca0b
2023-11-30 15:57:57 +01:00
Andre A. Gomes 61bd852090
gnu: cl-nsymbols: Update to 0.3.2.
* gnu/packages/lisp-xyz.scm (sbcl-nsymbols): Update to 0.3.2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Id3c69fd3fe2bcb2fabe38e894c0714f374cf55e9
2023-11-30 15:56:14 +01:00
Andre A. Gomes 3e4e66e6c5
gnu: cl-njson: Update to 1.2.2.
* gnu/packages/lisp-xyz.scm (sbcl-njson): Update to 1.2.2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I06ad8fa6b7511d8d6016037ce04e544cc5ed1f02
2023-11-30 15:52:35 +01:00
Andre A. Gomes 1ad68824ed
gnu: cl-nfiles: Update to 1.1.4.
* gnu/packages/lisp-xyz.scm (sbcl-nfiles): Update to 1.1.4.
  [source]: Remove snippet.
  [native-inputs]: Remove sbcl-nasdf.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I58bf9d91f7d0189ebcb09ead0cc9c0bdb2aa5d23
2023-11-30 15:50:02 +01:00
Andre A. Gomes 6d9479dd89
gnu: cl-nclasses: Update to 0.6.1.
* gnu/packages/lisp-xyz.scm (sbcl-nclasses): Update to 0.6.1.
  [source]: Remove snippet.
  [native-inputs]: Remove sbcl-nasdf.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I3eb1af6081d68f7426990d9795cff10e6b12a496
2023-11-30 15:47:21 +01:00
Andre A. Gomes 972daf037f
gnu: cl-history-tree: Update to 0.1.2.
* gnu/packages/lisp-xyz.scm (sbcl-history-tree): Update to 0.1.2.
  [source]: Remove snippet.
  [native-inputs]: Remove sbcl-nasdf.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Iec4932caed1f05266196a4216fef0bbe1ceb67f9
2023-11-30 15:43:57 +01:00
Andre A. Gomes b1b79b4959
gnu: cl-nkeymaps: Update to 1.1.1.
* gnu/packages/lisp-xyz.scm (sbcl-nkeymaps): Update to 1.1.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Id02e612c03ceefb4ce6532f569c73f58a50c9777
2023-11-30 15:40:09 +01:00
Guillaume Le Vaillant bd5955e3e4
gnu: txr: Update to 292.
* gnu/packages/lisp.scm (txr): Update to 292.

Change-Id: I7fb2e2c5ea40954d45eb80d36fb0db4f6f45c4c7
2023-11-30 14:36:59 +01:00
Efraim Flashner f4735ccf9b
gnu: libclc: Update to 15.0.7.
* gnu/packages/llvm.scm (libclc): Update to 15.0.7.
[source]: Use the llvm-monorepo.
[arguments]: Remove configure-flag for python, add one for llvm-spirv.
Add a phase to skip 2 tests.  Remove trailing #t from phases.
[propagated-inputs]: Add spirv-llvm-translator, spirv-tools.
[native-inputs]: Replace clang-9 with 15, llvm-9 with 15.
[properties]: Add release-monitoring-url.

Change-Id: I06e2e7be0dc5733a2cc17429928b1761ab987906
2023-11-30 12:33:46 +02:00
Efraim Flashner 0bf46a4fc8
gnu: Add spirv-llvm-translator.
* gnu/packages/vulkan.scm (spirv-llvm-translator): New variable.

Change-Id: I9e447b7d69c7fdf620854362ca8aa98a2dfa1c87
2023-11-30 12:33:17 +02:00
Liliana Marie Prikler c34c3b1c2b
gnu: Add plasp.
* gnu/packages/patches/plasp-fix-normalization.patch: New file.
* gnu/packages/patches/plasp-include-iostream.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them here.
* gnu/packages/potassoc.scm (plasp): New variable.

Change-Id: I0d8d64153b180a7d1d8d81888f843458efdf5e51
2023-11-30 09:08:05 +01:00
Liliana Marie Prikler 9408fa3754
gnu: Add mapbox-variant.
* gnu/packages/cpp.scm (mapbox-variant): New variable.

Change-Id: Id84b35d97d73fcf1c116ddca844bc75ada627b55
2023-11-30 09:08:05 +01:00
Janneke Nieuwenhuizen 79d95394c0
gnu: guix: Update to 1.4.0-15.e0885fcfbb.
* gnu/packages/package-management.scm (guix): Update to 1.4.0-15.e0885fcfbb.

Change-Id: I3a3f1512650389f9cd3edbd47c1aaf4a2410daff
2023-11-30 07:15:36 +01:00
Janneke Nieuwenhuizen e0885fcfbb
gnu: curl: Skip failing test on the Hurd.
* gnu/packages/curl.scm (curl)[arguments]: When building natively on the Hurd,
also skip test 564.

Change-Id: I265049b70c6255f075a98b1a385d40d9dd84badf
2023-11-30 07:12:41 +01:00
Efraim Flashner bdbb9dc27a
gnu: go-gotest-tools-internal-source: Skip tests with gccgo.
* gnu/packages/golang.scm (go-gotest-tools-internal-source)[arguments]:
When building with gccgo skip the test suite.

Change-Id: Ibe3569d9449321dd13ac7691273644d83f8fb38b
2023-11-29 22:02:21 +02:00