Commit graph

86346 commits

Author SHA1 Message Date
Ludovic Courtès
c946e1464d
doc: Handle '&nbsp' when syntax-highlighting HTML.
* doc/build.scm (syntax-highlighted-html)[build](entity->string): Handle "&nbsp".
2021-12-13 11:31:53 +01:00
Ricardo Wurmus
cf2251b9f7
gnu: Add r-sanssouci.
* gnu/packages/bioconductor.scm (r-sanssouci): New variable.
2021-12-13 11:17:43 +01:00
Ricardo Wurmus
73d2fb94e3
gnu: Add r-isoformswitchanalyzer.
* gnu/packages/bioconductor.scm (r-isoformswitchanalyzer): New variable.
2021-12-13 10:54:16 +01:00
Ricardo Wurmus
495646aa73
gnu: Add r-drimseq.
* gnu/packages/bioconductor.scm (r-drimseq): New variable.
2021-12-13 10:54:05 +01:00
Marcel Schilling
531a69ecb6
gnu: Add r-dearseq.
* gnu/packages/bioconductor.scm (r-dearseq): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-13 09:50:58 +01:00
Leo Famulari
efd4d36a28
gnu: linux-libre 4.4: Update to 4.4.294.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.294.
(linux-libre-4.4-pristine-source): Update hash.
2021-12-12 23:14:01 -05:00
Leo Famulari
912db36d27
gnu: linux-libre 4.9: Update to 4.9.292.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.292.
(linux-libre-4.9-pristine-source): Update hash.
2021-12-12 23:14:01 -05:00
Leo Famulari
a9dfc3781a
gnu: linux-libre 4.14: Update to 4.14.257.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.257.
(linux-libre-4.14-pristine-source): Update hash.
2021-12-12 23:14:01 -05:00
Leo Famulari
56778b40a3
gnu: linux-libre 4.19: Update to 4.19.220.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.220.
(linux-libre-4.19-pristine-source): Update hash.
2021-12-12 23:14:01 -05:00
Leo Famulari
ef8c464e17
gnu: linux-libre 5.4: Update to 5.4.164.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.164.
(linux-libre-5.4-pristine-source): Update hash.
2021-12-12 23:14:01 -05:00
Leo Famulari
50c529c574
gnu: linux-libre 5.10: Update to 5.10.84.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.84.
(linux-libre-5.10-pristine-source): Update hash.
2021-12-12 23:14:00 -05:00
Leo Famulari
e49f9f68dc
gnu: linux-libre: Update to 5.15.7.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.7.
(linux-libre-5.15-pristine-source): Update hash.
2021-12-12 23:13:57 -05:00
Ludovic Courtès
c8609493ba
news: Add entry about 'static-networking-service-type'.
* etc/news.scm: Add entry.
2021-12-13 00:09:33 +01:00
Ludovic Courtès
f73ba627ab
tests: Replace uses of deprecated 'static-networking-service'.
* gnu/tests/ganeti.scm (%ganeti-os): Replace call to
'static-networking-service' by instantiating
STATIC-NETWORKING-SERVICE-TYPE.
* gnu/tests/networking.scm (%test-static-networking)
(%openvswitch-os, %dhcpd-os): Likewise.
2021-12-12 23:20:50 +01:00
Ludovic Courtès
5967aee398
services: Define '%loopback-static-networking'.
* gnu/services/base.scm (%loopback-static-networking): New variable.
(%base-services): Use it.
* gnu/system/hurd.scm (%base-services/hurd): Use it.
* gnu/system/install.scm (%installation-services): Use it.
* doc/guix.texi (Networking Setup): Document it.
2021-12-12 23:20:50 +01:00
Ludovic Courtès
1644f4f1f8
services: Define '%qemu-static-networking'.
* gnu/services/base.scm (%qemu-static-networking): New variable.
* gnu/system/hurd.scm (%base-services/hurd): Use it.
* doc/guix.texi (Networking Setup): Document it.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
223f1b1eb3
services: static-networking: Change interface to mimic netlink.
* gnu/services/base.scm (<static-networking>)[interface, ip, netmask]
[gateway]: Remove.
[addresses, links, routes]: New fields.
[requirement]: Default to '(udev).
(<network-address>, <network-link>, <network-route>): New record types.
(ensure-no-separate-netmask, %ensure-no-separate-netmask): Remove.
(ipv6-address?, cidr->netmask, ip+netmask->cidr)
(network-set-up/hurd, network-tear-down/hurd)
(network-set-up/linux, network-tear-down/linux)
(static-networking->hurd-pfinet-options): New procedures.
(static-networking-shepherd-service): New procedure.
(static-networking-shepherd-services): Rewrite in terms of the above.
(static-networking-service): Deprecate.  Adjust to new
'static-networking' API.
(%base-services): Likewise.
* gnu/system/install.scm (%installation-services): Likewise.
* gnu/system/hurd.scm (%base-services/hurd): Likewise, and separate
'loopback' from 'networking'.
* gnu/build/hurd-boot.scm (set-hurd-device-translators): Remove
"servers/socket/2".
* gnu/tests/networking.scm (run-openvswitch-test)["networking has
started on ovs0"]: Check for 'networking instead of 'networking-ovs0,
which is no longer provided.
* doc/guix.texi (Networking Setup): Document the new interface.  Remove
documentation of 'static-networking-service'.
(Virtualization Services): Change Ganeti example to use the new
interface.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
39e3b4b7ce
services: secret-service: Turn into a Shepherd service.
* gnu/services/virtualization.scm (secret-service-activation): Remove.
(secret-service-shepherd-services): New procedure.
(secret-service-type)[extensions]: Remove ACTIVATION-SERVICE-TYPE
extension.  Add SHEPHERD-ROOT-SERVICE-TYPE and
USER-PROCESSES-SERVICE-TYPE extensions.
* gnu/build/secret-service.scm (delete-file*): New procedure.
(secret-service-receive-secrets): Use it.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
0cc742b261
services: static-networking: Use Guile-Netlink on GNU/Linux.
* gnu/services/base.scm (static-networking-shepherd-service): Define
'set-up-via-ioctl', 'tear-down-via-ioctl', 'set-up-via-netlink',
'tear-down-via-netlink', and 'helpers' and use them in 'start' and
'stop'.  Add (ip *) modules to 'modules'.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
1759292c8b
gnu: guile-netlink: Allow cross-compilation.
* gnu/packages/guile-xyz.scm (guile-netlink)[arguments]: Remove,
since #:tests? #f is unnecessary.
[native-inputs]: Add GUILE-3.0.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
a4d33fef31
doc: Add new "Networking Setup" node for the main setup options.
This should make it easier to find how to get started setting up
networking.

* doc/guix.texi (Networking Setup): New section.
(Networking Services): Remove 'static-networking-service',
'dhcp-client-service-type', 'network-manager-service-type',
'connman-service-type', 'wicd-service', 'modem-manager-service-type',
'usb-modeswitch-service-type', and 'wpa-supplicant-service-type'.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
33c498b9ee
tests: openvswitch: Check whether ovs0 is up.
* gnu/tests/networking.scm (run-openvswitch-test)["ovs0 is up"]: New test.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
72f140c253
tests: Add 'static-networking' test.
* gnu/tests/networking.scm (run-static-networking-test): New procedure.
(%test-static-networking): New variable.
2021-12-12 23:20:48 +01:00
Artyom V. Poptsov
9b24cd3b8e
gnu: guile-dsv: Update to 0.5.0
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.5.0.
2021-12-12 19:49:55 +01:00
Christopher Baines
604880ae22
progress: Rate limit drawing in the progress-reporter/bar.
This helps smooth the output in cases where the bar is updated very quickly,
for example in guix weather where it's computing derivations.

* guix/progress.scm (progress-reporter/bar): Wrap the drawing code with the
rate-limited procedure.
2021-12-12 14:12:15 +00:00
Foo Chuan Wei
c12c7f1284
gnu: sbcl-geco: Update to 2.1.2.
* gnu/packages/lisp-xyz.scm (sbcl-geco): Update to 2.1.2.
  [home-page]: Update home page.
  [license]: Fix license.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
Foo Chuan Wei
d1072f21ba
gnu: sbcl-aserve: Add HTML5 elements to htmlgen.
* gnu/patches/sbcl-aserve-add-HTML-5-elements.patch: New file.
* gnu/patches/sbcl-aserve-fix-rfe12668.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/lisp-xyz.scm (sbcl-aserve)[source]: Use them.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
gyara
8778ff2aec
gnu: dunst : Update to 1.7.3.
* gnu/packages/dunst.scm (dunst): Update to 1.7.3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
Efraim Flashner
5c3f5c1524
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 11:21:02 +02:00
Efraim Flashner
70fba40048
gnu: serveez: Update to 0.3.0.
* gnu/packages/serveez.scm (serveez): Update to 0.3.0.
[source]: Download using lzip tarball.
[native-inputs]: Add lzip.
[inputs]: Replace guile-2.0 with guile-2.2.
2021-12-12 10:59:07 +02:00
Efraim Flashner
cec4b2dcbc
gnu: guile-sdl: Update to 0.5.3.
* gnu/packages/sdl.scm (guile-sdl): Update to 0.5.3.
[source]: Use lzip tarball.
[native-inputs]: Add lzip.
2021-12-12 10:59:07 +02:00
Artyom V. Poptsov
ab82bed5d1
gnu: guile-dsv: Update to 0.4.1
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.4.1.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-12 09:22:07 +01:00
Vinicius Monego
8bb6c7425d
gnu: python-moto: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-moto)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
7a34e56dc8
gnu: python-moto: Update to 2.2.12.
* gnu/packages/python-xyz.scm (python-moto): Update to 2.2.12.
[arguments]: Make some cosmetic changes.
<#:phases>: Don't return #t. Support cross-compilation in
'patch-hardcoded-executable-names. Skip more tests and simplify the custom
'check phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
365260f4cd
gnu: Update awscli, python-boto3 and python-botocore.
awscli, botocore and boto3 work together and typically require matching
versions.

* gnu/packages/python-xyz.scm (python-botocore): Update to 1.22.11.
(python-boto3): Update to 1.19.11.
[native-inputs]: Add python-pytest.
* gnu/packages/python-web.scm (awscli): Update to 1.21.11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
9660c2f158
gnu: python-s3transfer: Honor #:tests? flag.
* gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
32135392dd
gnu: python-s3transfer: Update to 0.5.0.
* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0.
[arguments]<#:phases>: Remove 'patch phase because the issue was fixed
upstream. Don't return #t in custom 'check phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
dbf5d938c5
gnu: python-cfn-lint: Honor #:tests? flag.
* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Adjust custom 'check phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
f3416ebc2e
gnu: python-cfn-lint: Update to 0.54.3.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.54.3.
[home-page]: Follow redirect.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
589b9d6f29
gnu: python-aws-sam-translator: Update to 1.40.0.
* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.40.0.
[arguments]<#:phases>: Don't return #t.
[home-page]: Follow redirect.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Giacomo Leidi
7e9720eca4
gnu: python-vcrpy: Update to 4.1.1.
* gnu/packages/python-xyz.scm (python-vcrpy): Update to 4.1.1.
[arguments]: Replace 'check phase to run unit tests.
[native-inputs]: Add required dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Giacomo Leidi
8a1de89432
gnu: Add python-ipaddress.
* gnu/packages/python-xyz.scm (python-ipaddress): New variable;
(python2-ipaddress): Use package-with-python2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Foo Chuan Wei
ea18b4c529
gnu: Add ascii.
* gnu/packages/shellutils.scm (ascii): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:53 +01:00
Ludovic Courtès
cba0395c99
narinfo: Do not repeat slash when building nar URLs.
* guix/narinfo.scm (narinfo-maker): When one of URLS is relative, do not
repeat trailing slash if it's already present in CACHE-URL.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
e68466de12
substitutes: Build correct narinfo URLs for cache URLs without trailing slash.
Fixes <https://issues.guix.gnu.org/51441>.
Reported by Z572 <873216071@qq.com> and Peng Mei Yu <pengmeiyu@riseup.net>.

Previously, passing '--substitute-urls=https://mirror.sjtu.edu.cn/guix',
without a trailing slash, would fail due to incorrectly constructed
narinfo URLs.  Users would have to explicitly add a trailing slash.

* guix/substitutes.scm (narinfo-request): Ensure BASE has a trailing
slash.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
4dca1bae27
challenge: Store item contents are returned in canonical order.
This allows the 'delete-duplicates' call in 'differing-files' to have
the intended effect.

Before that, a "guix challenge" invocation with three builds of a store
item, two of which are identical, would lead 'differing-files' to not
print anything, as in this example:

  $ ./pre-inst-env guix challenge python-numpy
  /gnu/store/…-python-numpy-1.17.3 contents differ:
    local hash: 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7
    https://ci.guix.gnu.org/nar/lzip/…-python-numpy-1.17.3: 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7
    https://bordeaux.guix.gnu.org/nar/lzip/…-python-numpy-1.17.3: 0cbl3q19bshb6ddz8xkcrjzkcmillsqii4z852ybzixyp7rg40qa

  1 store items were analyzed:
    - 0 (0.0%) were identical
    - 1 (100.0%) differed
    - 0 (0.0%) were inconclusive

With this change, 'differing-files' prints additional info as intended:

    differing file:
      /lib/python3.8/site-packages/numpy/distutils/fcompiler/__pycache__/vast.cpython-38.pyc

* guix/scripts/challenge.scm (archive-contents): Add tail call to
'reverse'.
(store-item-contents): Rewrite to use 'scandir' and recursive calls
instead of 'file-system-fold'.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
c6903e156f
challenge: Use SRFI-71 instead of SRFI-11.
* guix/scripts/challenge.scm (port-sha256*, call-with-nar): Use SRFI-71.
2021-12-12 00:27:53 +01:00
Julien Lepiller
d5cfca23e3
gnu: java-log4j-api: Add cpe-name.
* gnu/packages/java.scm (java-log4j-api)[properties]: Add cpe-name.
2021-12-12 00:00:35 +01:00
Julien Lepiller
8c989e92b0
gnu: java-log4j-api: Update to 2.15.0.
Includes fixes for CVE-2017-5645, CVE-2020-9488 and CVE-2021-44228.

* gnu/packages/java.scm (java-log4j-api): Update to 2.15.0.
(java-log4j-core, java-log4j-1.2-api)[inputs]: Adjust accordingly.
2021-12-12 00:00:31 +01:00
Julien Lepiller
514deaa8d4
gnu. java-lmax-disruptor: Update to 3.4.4.
* gnu/packages/java.scm (java-lmax-disruptor): Update to 3.4.4.
[source]: Use git-fetch instead of url-fetch.
2021-12-12 00:00:27 +01:00