Commit graph

126222 commits

Author SHA1 Message Date
Nicolas Goaziou
a89d08496d
gnu: monolith: Update to 2.7.0.
* gnu/packages/web.scm (monolith): Update to 2.7.0.
[arguments]<#:cargo-inputs>: Update requirements for rust-clap,
rust-cssparser, rust-percent-encoding, rust-sha2.  Add
rust-percent-encoding-2.
<#:cargo-development-inputs>: Update requirements for rust-assert-cmd.

Change-Id: Ib506412fe5ec0610839d95144aacc12335bff895
2023-10-24 01:07:39 +02:00
Giacomo Leidi
4d748d344b
gnu: python-tortoise-orm: Update to 0.20.0.
* gnu/packages/databases.scm (python-tortoise-orm): Update to 0.20.0;
[source]: switch to git-fetched origin;
[build-system]: switch to pyproject-build-system;
[native-inputs]: add poetry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-24 00:02:14 +02:00
Giacomo Leidi
1566c9cae1
gnu: python-pypika-tortoise: Update to 0.1.6.
* gnu/packages/databases.scm (python-pypika-tortoise): Update to 0.1.6;
[build-system]: switch to pyproject-build-system;
[native-inputs]: add poetry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-24 00:02:14 +02:00
Giacomo Leidi
d146109d68
gnu: Fix python-tortoise-orm's sanity-check.
* gnu/packages/databases.scm (python-aiosqlite-0.17): New variable;
(python-tortoise-orm)[propagated-inputs]: use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-24 00:02:14 +02:00
Andre A. Gomes
1a0bff3971
gnu: Add emacs-imenu-anywhere.
* gnu/packages/emacs-xyz.scm (emacs-imenu-anywhere): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I5a381594cdf3692f1ea1602d7d71f8e59e404f60
2023-10-24 00:02:14 +02:00
Cayetano Santos
2861c70b9e
gnu: Add emacs-nerd-icons.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ie7e52ca3fb40986185061fb283b13e2828e963a8
2023-10-24 00:02:14 +02:00
Ludovic Courtès
81b293ef34
gnu: kokkos: Restrict builds to 64-bit architectures.
* gnu/packages/cpp.scm (kokkos)[supported-systems]: New field.

Change-Id: Ia49e40471e59242e4b40879277a81de022a92d1f
2023-10-24 00:02:14 +02:00
Ludovic Courtès
a1ac534f8a
gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/Hurd.
Fixes <https://issues.guix.gnu.org/66691>.

* gnu/packages/tls.scm (gnutls-3.8.1)[arguments]: New field.

Change-Id: If208591d78d5d023220bd3a7e3841af172c605ff
2023-10-24 00:02:14 +02:00
Ludovic Courtès
356ca40c89
gnu: cmake-minimal: Remove ‘hidden’ property.
This makes ‘cmake-minimal’ accessible to users and additionally allows
for input rewriting, as discussed
at <https://issues.guix.gnu.org/65665#17>.

* gnu/packages/cmake.scm (cmake-minimal)[properties]: New field.
2023-10-24 00:02:14 +02:00
fanquake
2fbb5398a3
gnu: gcc@10: Update to 10.5.0.
* gnu/packages/gcc.scm (gcc-10): Update to 10.5.0.
Remove ‘gcc-10-tree-sra-union-handling.patch’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Id1121cde63c8f5572fbe6a2b0d18b2df5a1eaa68
2023-10-24 00:02:13 +02:00
Maxim Cournoyer
cbd20d6274
doc: Document Cuirass build notifications.
* doc/contributing.texi (Tracking Bugs and Changes)
<Cuirass Build Notifications>: New subsection.

Change-Id: Icead24ec18cd4511ee6217aae3c1d11ec552a9c7
Reviewed-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-23 11:42:19 -04:00
Clément Lassieur
b6619c5db4
build: Fix it.
* Makefile.am (.git/config): Add missing "\".

Change-Id: I0d1435ef33d9e6f2246631fa0eb8cbb617ea8fb5
2023-10-23 12:50:26 +02:00
Efraim Flashner
9210ca9b04
gnu: at-spi2-core: Skip tests on powerpc-linux.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: When building for
powerpc-linux skip the custom 'check phase.

Change-Id: I8c609c1cb6eb8b03746e294f7b8e3d0792c43443
2023-10-23 13:11:27 +03:00
Sören Tempel
dae956e796
syscalls: Consistently use existing linux? definition.
Instead of duplicating this existing logic across the source file. This
will make it easier to add additional linux targets (e.g. linux-musl) in
the future.

* guix/build/syscalls.scm (readdir*, write-socket-address!)
(read-socket-address): Use linux? constant.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I833c1d1630dcb8319584de1ea918cb22696f0058
2023-10-23 11:58:16 +02:00
Sören Tempel
54e6788267
syscalls: Add support for musl libc.
This commit allows using Guix on a foreign distro which uses musl libc,
for example, Alpine Linux. Usage of musl libc is detected via a new
musl-libc? variable using the Guile %host-type.

Using the new musl-libc? variable, we can now implement musl-specific
quirks. The two compatibility problems I encountered in this regard are
that musl dose not export a readdir64 and statfs64 symbol. On musl,
these two functions are implemented as CPP macros that expand to
readdir/statfs. To workaround that, a case-distinction was added.

The existing linux? variable has been modified to return true if the
%host-system contains "linux-" in order to ensure it is true for both
linux-gnu as well as linux-musl host systems.

The patch has been tested on Alpine Linux and is already used for the
downstream Guix package shipped in Alpine Linux's package repository.

* guix/build/syscalls.scm (musl-libc?): New variable.
(linux?): Truth value on any linux system.
(statfs, readdir-procedure): Support musl libc.

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Icc4101a062381240f977f4550344bde696513c52
2023-10-23 11:56:54 +02:00
Ludovic Courtès
48c1a74b24
build-system/dub: Remove dependency on (guix build syscalls).
The (guix build syscalls) module was unused.

* guix/build-system/dub.scm (%dub-build-system-modules): Remove (guix
build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès
4b5e31dc5e
build-system/android-ndk: Remove dependency on (guix build syscalls).
The (guix build syscalls) module was unused.

* guix/build-system/android-ndk.scm (%android-ndk-build-system-modules):
Remove (guix build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès
542c906f16
build-system/ant: Remove dependency on (guix build syscalls).
The module has been unused since
a6343af221.

* guix/build-system/ant.scm (%ant-build-system-modules): Remove (guix
build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès
b4d6a43173
gnu: public-inbox: Remove dependency on (guix build syscalls).
* gnu/packages/mail.scm (public-inbox)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.  Rewrite ‘check’ phase to
reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:54 +02:00
Ludovic Courtès
8e3d710f4c
gnu: polkit: Remove dependency on (guix build syscalls).
Having a dependency on (guix build syscalls) this deep in the stack
would make it much harder to change syscalls.scm.

* gnu/packages/polkit.scm (polkit)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Ludovic Courtès
4eda89248d
gnu: python-dbusmock: Use ‘search-input-file’.
* gnu/packages/python-xyz.scm (python-dbusmock)[arguments]: In
‘patch-paths’ phase, use ‘search-input-file’ instead of ‘assoc-ref’.
2023-10-23 11:56:53 +02:00
Ludovic Courtès
4ac6999be7
gnu: python-dbusmock: Rewrite phases as a gexp.
* gnu/packages/python-xyz.scm (python-dbusmock)[arguments]: Use gexps.
2023-10-23 11:56:53 +02:00
Ludovic Courtès
9a23dd54ee
gnu: python-dbusmock: Remove dependency on (guix build syscalls).
Having a dependency on (guix build syscalls) this deep in the stack
would make it much harder to change syscalls.scm.

* gnu/packages/python-xyz.scm (python-dbusmock)[native-inputs]: Remove TINY.
[arguments]: Remove #:imported-modules, and remove (guix build syscalls)
from #:modules.  Rewrite ‘check’ phase to reap processes from the build
process itself.
2023-10-23 11:56:53 +02:00
Ludovic Courtès
5a3b712ad7
gnu: python-ipykernel: Remove dependency on (guix build syscalls).
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]:
Remove #:imported-modules.  Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap child processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Ludovic Courtès
64e678bdbc
gnu: mutter: Remove dependency on (guix build syscalls).
* gnu/packages/gnome.scm (mutter)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Clément Lassieur
25043e01b6
gnu: icecat: Support Guix packaged extensions and native manifests.
* gnu/build/icecat-extension.scm: New file with a MAKE-ICECAT-EXTENSION
procedure that makes sure the add-on directory is a symlink, so that Icecat
can normalize it into a package store path.
* gnu/local.mk (dist_patch_DATA): Register it, as well as new patches.
* gnu/packages/browser-extensions.scm (ublock-origin)[properties]: Store the
add-on ID so that it is accessible in MAKE-ICECAT-EXTENSION.
[arguments]: Use the add-on ID as root directory.
(ublock-origin/icecat): New procedure.
* gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Rewrite the unused
'apply-guix-specific-patches' phase so that it applies the following two
patches.
[native-search-paths]: New field.
* gnu/packages/patches/icecat-compare-paths.patch: New patch that compares
add-on paths (which are package store paths) to detect package changes.
* gnu/packages/patches/icecat-use-system-wide-dir.patch: New patch that
replaces "/usr/lib/mozilla" (the system-wide directory for extensions and
native manifests) with "$ICECAT_SYSTEM_DIR".
2023-10-23 11:19:02 +02:00
Liliana Marie Prikler
a25a492f2b
gnu: mpd-mpc: Really fix directory for bash completions.
Commit 577fd21122 contains a typo wherein a dash
was used instead of an underscore.  Compare for example the git package to see
where completions should be installed.

* gnu/packages/mpd.scm (mpd-mpc)[move-completion]: Use “etc/bash_completion.d”
instead of “etc/bash-completion.d”.
2023-10-23 10:27:35 +02:00
Liliana Marie Prikler
fc6325ea0d
gnu: emacs-haskell-snippets: Use correct directory for snippets.
This package instructs Yasnippet to look for snippets relative to its own
path.  However, it installs the snippets directly to site-lisp, which as of
79cfe30f3e is one directory above that.  Use the
elpa-directory procedure introduced in that commit to rectify this mistake.

* gnu/packages/emacs-xyz.scm (emacs-haskell-snippets)[#:phases]
<install-snippets>: Use elpa-directory.

Fixes: Wrong location for haskell snippets <https:issues.guix.gnu.org/66562>
2023-10-23 09:47:59 +02:00
Herman Rimm
54e88d8da5
gnu: Add rust-1.73.
* gnu/packages/rust.scm (rust-1.73): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I97ab62112cd9386427d3cf8f9f6e1700492966b1
2023-10-23 09:29:37 +03:00
Sharlatan Hellseher
56742f79c0
gnu: go-github-com-alecthomas-assert: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-alecthomas-assert): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:31 -04:00
Sharlatan Hellseher
0a881fdaa7
gnu: go-golang-org-sql-mock: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-golang-org-sql-mock): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
f6a03a8ba6
gnu: go-golang-org-x-lint: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-golang-org-x-lint): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
4e65fb5b33
gnu: go-honnef-co-go-tools: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-honnef-co-go-tools): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
cf9c76223f
gnu: go-github-com-onsi-ginkgo: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-onsi-ginkgo):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
18a537ec42
gnu: go-github-com-google-go-cmdtest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-google-go-cmdtest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
1261ca098b
gnu: go-github-com-frankban-quicktest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher
eeb397018d
gnu: go-github-com-cheekybits-is: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-cheekybits-is): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher
01b9dd8782
gnu: go-github-com-google-gofuzz: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-google-gofuzz): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher
1b7175555e
gnu: go-github-com-jacobsa-ogletest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-jacobsa-ogletest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher
6272d5f7be
gnu: go-github-com-tdewolff-test: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-tdewolff-test):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher
981f0fee04
gnu: go-gopkg-in-go-playground-assert-v1: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-gopkg-in-go-playground-assert-v1):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher
7990756053
gnu: go-github-com-golangplus-testing: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-golangplus-testing): Move from
here...
* gnu/packages/golang-check.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher
28a9e296f8
gnu: go-github-com-jacobsa-oglematchers: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-jacobsa-oglematchers): Move
from here...
* gnu/packages/golang-check.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher
4bb570a298
gnu: go-gopkg-in-check-v1: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-gopkg-in-check-v1): Move from here...
* gnu/packages/golang-check.scm (go-gopkg-in-check-v1): ... to here.

* gnu/packages/bioinformatics.scm: Add (gnu-packages golang-check) to
use-module.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher
1ac7f7d068
gnu: go-github-com-stretchr-testify: Remove labels.
* gnu/packages/golang-check.scm (go-github-com-stretchr-testify): Remove
input lables.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ibe9dcd7b55681cf6c5b76c44ef03de2e2f02bcd9
2023-10-22 22:17:13 -04:00
Sharlatan Hellseher
7d40f11e01
gnu: go-github-com-jacobsa-oglemock: Move to (gnu packages golang-check)
* gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): Move from here...
* gnu/packages/golang-check.scm: ... to here.

* gnu/packages/file-systems.scm: Add use-module (gnu-packages golang-check).

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:03:04 -04:00
Sharlatan Hellseher
dc01497850
gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-stretchr-testify): Move from
here...
* gnu/packages/golang-check.scm: ...to here.

* gnu/packages/databases.scm: Add (gnu packages golang-check) module.
* gnu/packages/education.scm: As above...
* gnu/packages/ipfs.scm: As above...
* gnu/packages/irc.scm: As above...
* gnu/packages/mail.scm: As above...
* gnu/packages/textutils.scm: As above...
* gnu/packages/version-control.scm: As above...

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:02:56 -04:00
Sharlatan Hellseher
4cd78484bb
gnu: Add (gnu packages golang-check) module.
* gnu/packages/golang-check.scm: New file.
* gnu/local.mk: Add to gnu/packages/golang-check.scm scope.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:02:52 -04:00
Maxim Cournoyer
75aba5a746
build: Avoid git config 'include' duplicates.
* Makefile.am (.git/config): Invoke git config --replace-all with a
value-pattern instead of --add.

Change-Id: Id6e19b15d3772105128eb9b48d0f4e039ae3d988
Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-22 20:35:15 -04:00
Maxim Cournoyer
4cf4dcb8b3
teams: Adjust shebang to use 'guix repl'.
This ensures the correct Guix dependencies are always available for the
script.

* etc/teams.scm.in: Rename to...
* etc/teams.scm: ... this.  Adjust shebang.
* .gitignore: No longer ignore it.
* configure.ac: Do not process it with AC_CONFIG_FILES.

Reported-by: Clément Lassieur <clement@lassieur.org>
Fixes: https://issues.guix.gnu.org/66605
Change-Id: I7a01750c6c5f0696b6c36b1e6caa9389d9e6822c
2023-10-22 20:35:15 -04:00