Commit graph

98684 commits

Author SHA1 Message Date
Julien Lepiller f66ff1d267
gnu: ocaml-lwt: Update to 5.6.1.
* gnu/packages/ocaml.scm (ocaml-lwt): Update to 5.6.1.
2022-07-02 22:25:36 +02:00
Julien Lepiller e0ecf85969
gnu: dune: Update to 3.3.1.
* gnu/packages/ocaml.scm (dune): Update to 3.3.1.
2022-07-02 22:25:33 +02:00
Julien Lepiller ac0415fdd9
gnu: ocaml-camlp-streams: Update to 5.0.1.
* gnu/packages/ocaml.scm (ocaml-camlp-streams): Update to 5.0.1.
2022-07-02 22:25:18 +02:00
Stephen Paul Weber b01043a8ce
gnu: Add ruby-blather.
* gnu/packages/ruby.scm (ruby-blather): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-07-02 12:01:41 -04:00
Stephen Paul Weber d633207a70
gnu: Add ruby-niceogiri.
* gnu/packages/ruby.scm (ruby-niceogiri): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-07-02 12:01:40 -04:00
Liliana Marie Prikler 48ff4bfcd7
gnu: gdk-pixbuf: Add removal hint for libx11.
* gnu/packages/gtk.scm (gdk-pixbuf)[propagated-inputs]: Add hint to remove
libx11 on core-updates.
2022-07-02 13:49:42 +02:00
Tomasz Jeneralczyk b02225b614
gnu: Add gdk-pixbuf-xlib.
This was part of gtk-pixbuf before but was split into its own library
in version 2.42.0: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/tags/2.42.0

* gnu/packages/gtk.scm (gtk-pixbuf-xlib): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 13:49:35 +02:00
Liliana Marie Prikler aaf4694b9f
gnu: dino: Run tests.
* gnu/packages/messaging.scm (dino)[arguments]<#:tests?>: Drop.
<#:configure-flags>: Add “-DBUILD_TESTS=true”.
<#:phases>: Replace ‘check’ with manual invocations of the test binaries.
2022-07-02 13:37:20 +02:00
Liliana Marie Prikler fe111f404d
gnu: dino: Use new package style.
* gnu/packages/messaging.scm (dino)[arguments]: Convert to list of
G-Expressions.
[native-inputs, inputs]: Drop labels.
2022-07-02 13:37:20 +02:00
Raghav Gururajan 9b73b76cad
gnu: Add kaidan.
* gnu/packages/messaging.scm (kaidan): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 13:37:19 +02:00
Raghav Gururajan 3b32297e2d
gnu: bitmask: Update to 0.21.11.
* gnu/packages/vpn.scm (bitmask)[version]: Update to 0.21.11.
[inputs]: Add qtsvg.
2022-07-02 06:47:48 -04:00
Pierre Neidhardt e00431806f
gnu: sbcl-nhooks: Update to 1.1.1.
* gnu/packages/lisp-xyz.scm (sbcl-nhooks): Update to 1.1.1.
2022-07-02 12:38:26 +02:00
Thiago Jung Bauermann 0fb144549d
gnu: gdm: Use regular check.
* gnu/packages/gnome.scm (gdm)[native-inputs]: Replace check-0.14 with check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:28 +02:00
Thiago Jung Bauermann fe16fe59ee
gnu: iodine: Use regular check.
* gnu/packages/networking.scm (iodine)[native-inputs]: Replace check-0.14 with
check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:28 +02:00
Thiago Jung Bauermann 4d77072c56
gnu: libsbml: Use regular check.
* gnu/packages/bioinformatics.scm (libsbml)[native-inputs]: Replace check-0.14
with check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:28 +02:00
Thiago Jung Bauermann 71ccba00e7
gnu: edi: Use regular check.
* gnu/packages/enlightenment.scm (edi)[native-inputs]: Replace check-0.14 with
check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:27 +02:00
Thiago Jung Bauermann b6b47a4423
gnu: burp: Use regular check.
* gnu/packages/backup.scm (burp)[native-inputs]: Replace check-0.14 with
check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:27 +02:00
Thiago Jung Bauermann b35fd27831
gnu: libsigrokdecode: Use regular check.
* gnu/packages/electronics.scm (libsigrokdecode)[native-inputs]: Replace
check-0.14 with check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:27 +02:00
Thiago Jung Bauermann e116e43d0c
gnu: recutils: Use regular check.
* gnu/packages/databases.scm (recutils)[native-inputs]: Replace check-0.14
with check.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 11:28:27 +02:00
Liliana Marie Prikler aeb8c4fbea
gnu: curl: Skip failing test on x86-32.
* gnu/packages/curl.scm (curl-7.84.0)[arguments]<#:phases>: When running on
x86-32, add a phase to skip test 3026 “curl_global_init thread-safety”.
2022-07-02 11:13:41 +02:00
Liliana Marie Prikler 2533e7f8d1
gnu: ibus-anthy: Modernize arguments.
* gnu/packages/ibus.scm (ibus-anthy)[arguments]: Convert to list of
G-Expressions.
2022-07-02 01:09:19 +02:00
Liliana Marie Prikler 421b47624c
gnu: ibus-anthy: Archaize wrapper.
This is a follow-up to 39b118776b, which
applied the wrong modernization metaphors.  For more information, see
<https://issues.guix.gnu.org/52576#16>.

* gnu/packages/ibus.scm (ibus-anthy)[#:phases]<wrap-programs>: Refer to
outputs by assoc-ref.
2022-07-02 01:05:16 +02:00
Ludovic Courtès bee2c369fa
tests: Adjust 'guix graph' test to latest OCaml changes.
* tests/graph.scm ("reverse bag DAG"): Adjust to latest OCaml changes by
looking at dune/ocaml-camomile/ocaml-utop.
2022-07-01 23:29:16 +02:00
Ludovic Courtès 4ff12d1de7
profiles: Do not repeat entries in 'manifest' file.
Fixes <https://issues.guix.gnu.org/55499>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

With this change, the manifest file created for:

  guix install r r-seurat r-cistopic r-monocle3 r-cicero-monocle3 r-assertthat

goes from 5.7M to 176K.  Likewise, on this profile, wall-clock time of:

  GUIX_PROFILING=gc guix package -I

goes from 0.7s to 0.1s, with heap usage going from 55M to 9M.

* guix/profiles.scm (manifest->gexp)[optional]: New procedure.
[entry->gexp]: Turn into a monadic procedure.  Return a 'repeated' sexp
if ENTRY was already visited before.
Adjust caller accordingly.  Bump manifest version.
(sexp->manifest)[sexp->manifest-entry]: Turn into a monadic procedure.
Add case for 'repeated' nodes.  Add each entry to the current state
vhash.
Add clause for version 4 manifests.
[sexp->manifest-entry/v3]: New procedure, with former
'sexp->manifest-entry' code.
* tests/profiles.scm ("deduplication of repeated entries"): New test.
* guix/build/profiles.scm (manifest-sexp->inputs+search-paths)[let-fields]:
New macro.
Use it.  Expect version 4.  Add clause for 'repeated' nodes.
2022-07-01 23:29:16 +02:00
Ludovic Courtès 9b8c442b25
tests: Augment profile collision test.
* tests/profiles.scm ("collision of propagated inputs"): Check the
parents of ENTRY1 and ENTRY2.
2022-07-01 23:29:16 +02:00
Ludovic Courtès bf7e07d299
services: openssh: Listen on IPv6 only when IPv6 is supported.
Fixes <https://issues.guix.gnu.org/56327>.
Reported by André Batista <nandre@riseup.net>.

* gnu/services/ssh.scm (openssh-shepherd-service)[ipv6-support?]: New
variable.
Use it in 'start' method.
2022-07-01 23:29:16 +02:00
Ludovic Courtès b512dadfd6
upstream: 'guix refresh -u' no longer stops when upstream info is lacking.
Fixes <https://issues.guix.gnu.org/56338>.

Starting from 53b9c27aa5, 'guix refresh -u'
would stop upon the first failure to determine upstream releases.  This
fixes that.

* guix/upstream.scm (package-update): Warn rather than update.
2022-07-01 23:29:15 +02:00
Sughosha aba1ee5553
gnu: Add luppp.
* gnu/packages/music.scm (luppp): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 19:12:01 +02:00
Sughosha 697e75fca5
gnu: Add fabla.
* gnu/packages/music.scm (fabla): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 19:08:46 +02:00
Sughosha 3b19dbd703
gnu: sorcer: Update to 1.1.3-1.cc7f6f5.
* gnu/packages/music.scm (sorcer): Update to 1.1.3-1.cc7f6f5.
[source]: Fetch with git; remove generated C++ file.
[native-inputs]: Replace faust with faust-0.9.67.

This update fixes the building of the package.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 19:03:48 +02:00
Ricardo Wurmus 0fce0b9267
gnu: Add faust-0.9.67.
* gnu/packages/audio.scm (faust-0.9.67): New variable.
2022-07-01 19:03:44 +02:00
Leo Famulari 1f88c25bdc
gnu: linux-libre 5.4: Update to 5.4.202.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.202.
(linux-libre-5.4-pristine-source): Update hash.
2022-07-01 11:32:29 -04:00
Leo Famulari 13e0afe6cb
gnu: linux-libre 5.10: Update to 5.10.127.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.127.
(linux-libre-5.10-pristine-source): Update hash.
2022-07-01 11:32:29 -04:00
Leo Famulari ce9fbdd413
gnu: linux-libre 5.15: Update to 5.15.51.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.51.
(linux-libre-5.15-pristine-source): Update hash.
2022-07-01 11:32:28 -04:00
Leo Famulari a90158a9e4
gnu: linux-libre: Update to 5.18.8.
* gnu/packages/linux.scm (linux-libre-5.18-version): Update to 5.18.8.
(linux-libre-5.18-pristine-source): Update hash.
2022-07-01 11:32:22 -04:00
Jan (janneke) Nieuwenhuizen f8273f8225
gnu: dezyne: Update to 2.15.3.
* gnu/packages/dezyne.scm (dezyne)[source]: Update to 2.15.3.
2022-07-01 15:45:44 +02:00
Jan (janneke) Nieuwenhuizen 36a0ec9e78
gnu: mcrl2: Update to 202206.0.
* gnu/packages/patches/mcrl2-fix-1687.patch,
gnu/packages/patches/mcrl2-fix-counterexample.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/maths.scm (mcrl2): Update to 202206.0 and use them.
2022-07-01 15:45:37 +02:00
Ricardo Wurmus 81cf674a5d
gnu: Add python-ikarus.
* gnu/packages/bioinformatics.scm (python-ikarus): New variable.
2022-07-01 14:54:26 +02:00
Ludovic Courtès 741895676b
tests: Add sanitizer test.
* tests/records.scm ("define-record-type* & sanitize without default
value"): New test.
2022-07-01 12:10:29 +02:00
Ludovic Courtès 0dab106a6a
image: Add sanitizers for 'format' and 'partition-table-type'.
This allows common mistakes to be diagnosed early.

* gnu/image.scm (define-set-sanitizer): New macro.
(validate-image-format, validate-partition-table-type): New sanitizers.
(<image>)[format, partition-table-type]: Add 'sanitize' property.
2022-07-01 12:10:29 +02:00
Ludovic Courtès 05a759ab36
image: Raise an error when an image lacks a bootable partition.
* gnu/system/image.scm (find-root-partition): Raise an error when 'find'
returns #f.
2022-07-01 12:10:28 +02:00
Ludovic Courtès ed19bc87e4
image: Avoid use of the deprecated 'gpt' option of genimage.
* gnu/system/image.scm (system-disk-image)[genimage-type-options]: Use
'partition-table-type' instead of the deprecated 'gpt' option.
2022-07-01 12:10:28 +02:00
Ludovic Courtès 9f530ef38a
image: Add default value for partition initializer.
Previously, the default value would lead to a wrong-type-to-apply crash.

* gnu/system/image.scm (system-disk-image)[image-builder]: When
'partition-initializer' returns #f, fall back to
INITIALIZE-ROOT-PARTITION.
* gnu/tests/base.scm (run-root-unmount-test)[test-image]: Remove
'initializer' field of partition.
* gnu/image.scm (<partition>)[initializer]: Add comment.
2022-07-01 12:10:28 +02:00
Ludovic Courtès e871c3a857
image: 'system-image' throws when given an incorrect image format.
Previously 'system-image' would return *unspecified* in that case,
leading to a wrong-type-arg error crash down the road.

* gnu/system/image.scm (system-image): Add 'else' clause.
2022-07-01 12:10:28 +02:00
Ludovic Courtès 0483c71cc5
services: root-file-system: Cleanly unmount upon shutdown.
Fixes <https://issues.guix.gnu.org/56209>.
Reported by angry rectangle <angryrectangle@cock.li>.

* gnu/packages/admin.scm (shepherd-0.9)[modules, snippet]: New fields.
* gnu/services/base.scm (%root-file-system-shepherd-service): In 'stop'
method, remove 'call-with-blocked-asyncs'.  When 'mount' throws to
'system-error, call (@ (fibers) sleep) and try again.
* gnu/tests/base.scm (run-root-unmount-test): New procedure.
(%test-root-unmount): New variable.
2022-07-01 12:10:28 +02:00
Ludovic Courtès 4636640de8
file-systems: Add 'cleanly-unmounted-ext2?'.
* gnu/build/file-systems.scm (ext2-superblock-cleanly-unmounted?)
(cleanly-unmounted-ext2?): New procedures.
2022-07-01 12:10:28 +02:00
Ludovic Courtès 2199af9f7b
gnu: texlive-fmtcount: Add proper 'license' value.
This is a followup to df5e07c16d.

* gnu/packages/tex.scm (texlive-fmtcount)[license]: New field.
2022-07-01 12:10:27 +02:00
Christopher Baines b5c6062bce
services: nginx: Add support for extra content in upstream blocks.
I'm looking at this as I'd like to use the keepalive functionality.

* gnu/services/web.scm (nginx-upstream-configuration-extra-content): New
procedure.
(emit-nginx-upstream-config): Include the extra-content if applicable.
* doc/guix.texi (NGINX): Document this.
2022-07-01 09:45:28 +01:00
Luis Henrique Gomes Higino 9a2a77b6ad
gnu: grip: Update to 4.6.1.
* gnu/packages/python-web.scm (grip): Update to 4.6.1.
(arguments): Use a gexp.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-01 09:45:28 +01:00
Christopher Baines 09aeabb9d3
services: guix: Support guix-build-coordinator parallel hooks.
* gnu/services/guix.scm (guix-build-coordinator-configuration-parallel-hooks):
New procedure.
(make-guix-build-coordinator-start-script): Accept and use #:parallel-hooks.
(guix-build-coordinator-shepherd-services): Pass parallel-hooks to
make-guix-build-coordinator-start-script.
* doc/guix.texi (Guix Build Coordinator): Document this new field.
2022-07-01 09:45:28 +01:00