Commit graph

86301 commits

Author SHA1 Message Date
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
Julien Lepiller 684e22dce2
gnu: Add java-conversant-disruptor.
* gnu/packages/java.scm (java-conversant-disruptor): New variable.
2021-12-12 00:00:22 +01:00
Julien Lepiller b049f5bbea
gnu: Add java-jctools-core-1.
* gnu/packages/java.scm (java-jctools-core-1): New variable.
2021-12-12 00:00:18 +01:00
Julien Lepiller 5259513d5e
gnu: java-jansi: Update to 2.4.0.
* gnu/packages/java.scm (java-jansi): Update to 2.4.0.
(java-jansi-1): New variable.
[source]: Use git-fetch instead of url-fetch.
(java-jline-2)[inputs]: Use java-jansi-1.
* gnu/packages/groovy.scm (java-groovy-bootstrap)[inputs]: Use java-jansi-1.
2021-12-12 00:00:06 +01:00
Jonathan Brielmaier 8c6508b928
gnu: icedove: Update to 91.4.0 [fixes CVE-2021-43528].
* gnu/packages/gnuzilla.scm (icedove): Update to 91.4.0.
2021-12-11 17:28:59 +01:00
Andrew Tropin 2e28b450d5
gnu: emacs-telega: Update to 0.7.15-1.b4a5e20.
* gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to
0.7.15-1.b4a5e20.
* gnu/packages/patches/emacs-telega-path-placeholder.patch: Match patch with
newer source code.
* gnu/packages/patches/emacs-telega-test-env.patch: Match patch with newer
source code.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 16:08:04 +01:00
Andrew Tropin 649ab3fe2d
gnu: tdlib: Update to 1.7.10.
* gnu/packages/messaging.scm (tdlib): Update to 1.7.10.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 16:07:36 +01:00
jgart via Guix-patches via ebff268bfc
gnu: Add vivid.
* gnu/packages/rust-apps.scm (vivid): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 15:46:12 +01:00
Demis Balbach c11c1080de
gnu: carla: Update to 2.4.1.
* gnu/packages/audio.scm (carla): Update to 2.4.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 15:37:51 +01:00
Petr Hodina 610645b175
gnu: i3status-rust: Add missing inputs.
* gnu/packages/rust-apps (i3status-rust)[inputs]: Add alsa-utils,
  bash-minmal, coreutils, ibus, iproute, kdeconnect, lm-sensors, setxkbmap,
  speedtest-cli, xdg-utils, xrandr.
  [arguments]: Add phase to wrap-program bin/i3status-rs.
* gnu/local.mk: Add patch (change not applied in
  575fcd3045)

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 15:35:44 +01:00
Nikolay Korotkiy bf189fd2b5
gnu: gmnisrv: Update to 1.0.
* gnu/packages/web.scm (gmnisrv): Update to 1.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 15:33:42 +01:00
Foo Chuan Wei 58dbf4c930
gnu: Add optionmatrix.
* gnu/packages/finance.scm (optionmatrix): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 14:37:33 +01:00
Foo Chuan Wei f00690c0ed
gnu: Add s9fes.
* gnu/packages/scheme.scm (s9fes): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 14:37:33 +01:00
Nicolas Goaziou 0d8c801d83
gnu: pdfarranger: Update to 1.8.1.
* gnu/packages/pdf.scm (pdfarranger): Update to 1.8.1.
2021-12-11 14:27:37 +01:00
Nicolas Goaziou 60dc7a7925
gnu: emacs-webpaste: Update to 3.2.2.
* gnu/packages/emacs-xyz.scm (emacs-webpaste): Update to 3.2.2.
2021-12-11 14:25:31 +01:00
Jacob MacDonald b3a801330e
gnu: sbcl-slime-swank: Update to 2.26.1.
* gnu/packages/lisp-xyz.scm (sbcl-slime-swank): Update to 2.26.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:47:51 +01:00
Foo Chuan Wei 0e14da5475
gnu: sbcl-mgl-pax: Update home page.
* gnu/packages/lisp-xyz.scm (sbcl-mgl-pax)[home-page]: Update home page.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:29:09 +01:00
Foo Chuan Wei acf44174c9
gnu: Add cl-mgl-gpr.
* gnu/packages/lisp-xyz.scm (cl-mgl-gpr, ecl-mgl-gpr, sbcl-mgl-gpr):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:26:14 +01:00
Foo Chuan Wei 0191fedb7f
gnu: Add cl-random.
* gnu/packages/lisp-xyz.scm (cl-random, ecl-cl-random, sbcl-cl-random):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:18:52 +01:00
Foo Chuan Wei 17bbd5ae07
gnu: Add cl-rmath.
* gnu/packages/lisp-xyz.scm (cl-rmath, ecl-cl-rmath, sbcl-cl-rmath):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:11:23 +01:00
Foo Chuan Wei e8fa25f6a4
gnu: Add cl-lla.
* gnu/packages/lisp-xyz.scm (cl-lla, ecl-lla, sbcl-lla): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:08:08 +01:00
Foo Chuan Wei 163f7831c4
gnu: Add cl-num-utils.
* gnu/packages/lisp-xyz.scm (cl-num-utils, ecl-cl-num-utils,
  sbcl-cl-num-utils): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 11:03:41 +01:00
Foo Chuan Wei d3b5414691
gnu: Add cl-core-gp.
* gnu/packages/lisp-xyz.scm (cl-core-gp, ecl-core-gp, sbcl-core-gp):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 10:46:16 +01:00
Foo Chuan Wei e9c6be1126
gnu: Add cl-zsort.
* gnu/packages/lisp-xyz.scm (cl-zsort, ecl-zsort, sbcl-zsort): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-11 10:38:59 +01:00
Liliana Marie Prikler 01a007f467
gnu: Add emacs-cc-mode.
* gnu/packages/emacs-xyz.scm (emacs-cc-mode): New variable.
2021-12-11 09:19:30 +01:00
Giacomo Leidi via Guix-patches via cfdf66e6bf
gnu: Add gprof2dot.
* gnu/packages/graphviz.scm (gprof2dot): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-10 23:47:01 +01:00
Foo Chuan Wei f08ce1d9ce
gnu: Add sunclock.
* gnu/packages/astronomy.scm (sunclock): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-10 23:40:08 +01:00
Nikolay Korotkiy f489116352
gnu: Add sfm.
* gnu/packages/suckless.scm (sfm): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-10 23:34:36 +01:00
Nikolay Korotkiy 6a53a7f36c
gnu: lagrange: Update to 1.9.2.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.9.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-10 23:28:13 +01:00
Nikolay Korotkiy e64eb96410
gnu: stagit: Update to 1.0.
* gnu/packages/version-control.scm (stagit): Update to 1.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-10 23:25:52 +01:00
Liliana Marie Prikler e4aad0813b
gnu: emacs-dpd: Update to 0.2.1.
* gnu/packages/emacs-xyz.scm (emacs-dpd): Update to 0.2.1.
2021-12-10 23:15:58 +01:00
Tobias Geerinckx-Rice e1e3230312
gnu: privoxy: Update to 3.0.33.
* gnu/packages/tor.scm (privoxy): Update to 3.0.33.
[arguments]: Don't explicitly return #t from phases.
2021-12-10 18:30:55 +01:00
Andy Tai af067eaff4
gnu: godot: Update to 3.4.
* gnu/packages/game-development.scm (godot): Update to 3.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-10 11:18:59 -05:00
Andy Tai 53d69a60e7
gnu: superstarfighter: Update to 0.6.5.
* gnu/packages/games.scm (superstarfighter): Update to 0.6.5.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-10 11:18:55 -05:00
phodina 6cb805dcce
gnu: Add eg25-manager.
* gnu/packages/firmware.scm (eg25-manager): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Vinicius Monego 6a887e4909
gnu: Add python-sphinxext-opengraph.
* gnu/packages/sphinx.scm (python-sphinxext-opengraph): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Vinicius Monego dc5ace95d3
gnu: Add python-sphinx-prompt.
* gnu/packages/sphinx.scm (python-sphinx-prompt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Philip McGrath 7c2d84df1c
gnu: sendgmail: Don't limit domain name of sender.
There are three open pull requests adding this functionality:

  - https://github.com/google/gmail-oauth2-tools/pull/17 (October 2019)
  - https://github.com/google/gmail-oauth2-tools/pull/26 (May 2020)
  - https://github.com/google/gmail-oauth2-tools/pull/37 (May 2021)
    (The patch here is identical to #26, so I just closed this one.)

Meanwhile, the most recent commit to the upstream repository was in
May 2019: that was the commit that first added `sendgmail`.

This commit adjusts Guix's `sendgmail`, following Postel's advice,
to make the command "liberal in its receiving behavior" (RFC 760):
it always accepts email addresses with any domain name, as in #26,
and it accepts (and ignores) the `-gsuite` flag used in #17.

* gnu/packages/patches/sendgmail-remove-domain-restriction.patch:
New file. This is the patch from #26.
* gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch:
New file, based on #17.
* gnu/local.mk (dist_patch_DATA): Add the new patches.
* gnu/packages/mail.scm (sendgmail)[source]: Apply the new patches.
Increment the "revision" argument to `git-version` from 0 to 1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Philip McGrath 5cf2c889c9
gnu: sendgmail: Rename package to match command.
Suggested by Ludo’ in <https://issues.guix.gnu.org/50420#3>.

* gnu/packages/golang.scm
(go-github-com-google-gmail-oauth2-tools-go-sendgmail): Move to ...
* gnu/packages/mail.scm (sendgmail): ... this variable.
Change `propagated-inputs` to `inputs`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Foo Chuan Wei f0adb870ac
gnu: Add smlnj.
* gnu/packages/sml.scm (smlnj): New variable.

Co-authored-by: Brett Gilio <brettg@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Ludovic Courtès 16e9e53838
environment: Suggestion code gracefully handles empty "/bin" directories.
* guix/scripts/environment.scm (suggest-command-name): Handle the case
where 'scandir' returns #f.
2021-12-10 15:32:44 +01:00
Ludovic Courtès 7197710121
shell: When using '-D -f', '-D' has no effect on remaining packages.
Fixes <https://issues.guix.gnu.org/52093>.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* guix/scripts/shell.scm (%options): In "--file" handler, add call to
'ensure-ad-hoc'.
* tests/guix-shell.sh: Add test.
2021-12-10 15:32:44 +01:00
Ludovic Courtès c879354003
shell: Fix '--file' description in '--help' output.
Reported by pinoaffe on #guix.

* guix/scripts/shell.scm (show-help): Fix '--file' description.
2021-12-10 15:32:44 +01:00
Julien Lepiller 18c406df97
gnu: ocaml-ppx-expect: Update to 0.14.2.
* gnu/packages/ocaml.scm (ocaml-ppx-expect): Update to 0.14.2.
2021-12-10 12:51:36 +01:00
Julien Lepiller 94226686fe
gnu: ocaml-migrate-parsetree: Update to 2.3.0.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Update to 2.3.0.
2021-12-10 12:51:32 +01:00
Julien Lepiller 6e06846c9d
gnu: ocamlformat: Update to 0.20.0.
* gnu/packages/ocaml.scm (ocamlformat): Update to 0.20.0.
2021-12-10 12:51:28 +01:00