jackhill/guix/guix.git
2 years agognu: guile-ssh: Support cross-compilation.
Ludovic Courtès [Sun, 6 Mar 2022 23:26:51 +0000 (00:26 +0100)]
gnu: guile-ssh: Support cross-compilation.

Cross-compilation broke with the update to 0.15.1 in
eabc6af9b8b14bd629544e54bc9c9afa2d0dcd85.  'guile-snarf' would invoke
cpp instead of TRIPLET-cpp, which would thus fail to find libssh
headers.

* gnu/packages/ssh.scm (guile-ssh)[arguments]: Add
'support-cross-compilation' phase.

2 years agognu: Add python-xmldiff.
Алексей Дроздов [Fri, 21 Jan 2022 11:00:08 +0000 (14:00 +0300)]
gnu: Add python-xmldiff.

* gnu/packages/python-xyz.scm (python-xmldiff): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add jtdx.
Sheng Yang [Mon, 24 Jan 2022 03:46:27 +0000 (21:46 -0600)]
gnu: Add jtdx.

* gnu/packages/radio.scm (jtdx-hamlib): New variable.
  (jtdx): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-stltools.
Evgeny Pisemsky [Fri, 11 Feb 2022 16:55:13 +0000 (19:55 +0300)]
gnu: Add python-stltools.

* gnu/packages/python-xyz.scm (python-stltools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: gnome-shell-extension-gsconnect: Update to 48
terramorpha [Sun, 13 Feb 2022 16:15:55 +0000 (11:15 -0500)]
gnu: gnome-shell-extension-gsconnect: Update to 48

* gnu/packages/gnome-xyz (gnome-shell-extension-gsconnect): Update to 48

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: cgdb: Reference gdb.
Chadwain Holness [Sun, 6 Mar 2022 06:24:36 +0000 (01:24 -0500)]
gnu: cgdb: Reference gdb.

* gnu/packages/debug.scm (cgdb)[inputs]: Add gdb, bash-minimal
[arguments]: Add phase to fix hardcoded gdb and sh paths
Add configure flags for cross-compilation

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: github: Reuse HTTP connection for the /tags URL fallback.
Ludovic Courtès [Thu, 3 Mar 2022 20:40:21 +0000 (21:40 +0100)]
import: github: Reuse HTTP connection for the /tags URL fallback.

* guix/import/github.scm (fetch-releases-or-tags): Call
'open-connection-for-uri' and reuse the same connection for the two
'http-fetch' calls.
* .dir-locals.el (scheme-mode): Add 'call-with-port'.

2 years agohttp-client: Correctly handle redirects when #:keep-alive? #t.
Ludovic Courtès [Thu, 3 Mar 2022 20:37:27 +0000 (21:37 +0100)]
http-client: Correctly handle redirects when #:keep-alive? #t.

Previously PORT would be closed unconditionally, which broke redirects
when #:keep-alive? #t is given.

* guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'.
Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume
RESP's body.  Add second argument to 'loop'.

2 years agoimport: github: Gracefully handle rate limit exhaustion.
Ludovic Courtès [Thu, 3 Mar 2022 16:35:21 +0000 (17:35 +0100)]
import: github: Gracefully handle rate limit exhaustion.

Previously, 'guix refresh' would literally crash when the rate limit was
reached due to the call to 'error'.  With this change, the updater
notices when the rate limit is reached and it turns itself into a no-op
until the rate limit has been reset.

When running "guix refresh" (with no arguments), the 'github' updater
gets used until the rate limit has been reached, after which "guix
refresh" automatically picks up the next valid updater, typically
'generic-git'.

* guix/import/github.scm (fetch-releases-or-tags): Use 'http-fetch'
directly instead of 'json-fetch' to let 'http-get-error?' exceptions
through.  Handle 403 errors with an 'X-RateLimit-Remaining' header.
(%rate-limit-reset-time): New variable.
(update-rate-limit-reset-time!, request-rate-limit-reached?): New
procedures.
(latest-released-version): Remove calls to 'error'.

2 years agohttp-client: Add response headers to '&http-get-error'.
Ludovic Courtès [Thu, 3 Mar 2022 19:38:36 +0000 (20:38 +0100)]
http-client: Add response headers to '&http-get-error'.

* guix/http-client.scm (&http-get-error)[headers]: New field.
(http-fetch): Initialize the 'headers' field.

2 years agotests: Add (guix http-client) tests.
Ludovic Courtès [Sun, 6 Mar 2022 17:14:51 +0000 (18:14 +0100)]
tests: Add (guix http-client) tests.

* tests/http-client.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* .dir-locals.el (scheme-mode): Add 'with-http-server'.

2 years agognu: emacs-go-mode: Activate tests.
Nicolas Goaziou [Sun, 6 Mar 2022 21:44:51 +0000 (22:44 +0100)]
gnu: emacs-go-mode: Activate tests.

* gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Activate tests.

2 years agognu: emacs-go-mode: Update to 1.6.0.
Nicolas Goaziou [Sun, 6 Mar 2022 21:14:15 +0000 (22:14 +0100)]
gnu: emacs-go-mode: Update to 1.6.0.

* gnu/packages/emacs-xyz.scm (emacs-go-mode): Update to 1.6.0.
[arguments]: Remove unnecessary phase.

2 years agognu: Add ncdu2.
Efraim Flashner [Sun, 6 Mar 2022 12:15:15 +0000 (14:15 +0200)]
gnu: Add ncdu2.

* gnu/packages/ncdu.scm (ncdu2): New variable.

2 years agognu: Add go-github-com-xdg-go-scram.
Efraim Flashner [Tue, 22 Feb 2022 14:01:05 +0000 (16:01 +0200)]
gnu: Add go-github-com-xdg-go-scram.

* gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable.

2 years agognu: Add go-github-com-xdg-go-pbkdf2.
Efraim Flashner [Tue, 22 Feb 2022 14:00:50 +0000 (16:00 +0200)]
gnu: Add go-github-com-xdg-go-pbkdf2.

* gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): New variable.

2 years agognu: Add go-github-com-docker-go-units.
Efraim Flashner [Tue, 22 Feb 2022 14:00:21 +0000 (16:00 +0200)]
gnu: Add go-github-com-docker-go-units.

* gnu/packages/golang.scm (go-github-com-docker-go-units): New variable.

2 years agognu: Add go-github-com-niemeyer-pretty.
Efraim Flashner [Tue, 22 Feb 2022 14:00:21 +0000 (16:00 +0200)]
gnu: Add go-github-com-niemeyer-pretty.

* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable.

2 years agognu: Add go-github-com-xdg-go-stringprep.
Efraim Flashner [Tue, 22 Feb 2022 14:00:20 +0000 (16:00 +0200)]
gnu: Add go-github-com-xdg-go-stringprep.

* gnu/packages/golang.scm (go-github-com-xdg-go-stringprep): New variable.

2 years agognu: wob: Update to 0.13.
Nicolas Goaziou [Sat, 5 Mar 2022 21:26:47 +0000 (22:26 +0100)]
gnu: wob: Update to 0.13.

* gnu/packages/xdisorg.scm (wob): Update to 0.13.

2 years agognu: Syncthing: Update to 1.19.1.
Leo Famulari [Sat, 5 Mar 2022 20:27:24 +0000 (15:27 -0500)]
gnu: Syncthing: Update to 1.19.1.

* gnu/packages/syncthing.scm (syncthing): Update to 1.19.1.

2 years agognu: scintilla: Update to 5.2.1.
Nicolas Goaziou [Sat, 5 Mar 2022 10:07:00 +0000 (11:07 +0100)]
gnu: scintilla: Update to 5.2.1.

* gnu/packages/text-editors.scm (scintilla): Update to 5.2.1.

2 years agognu: cl-md5: Update to 2.0.5.
Jai Vetrivelan [Sat, 5 Mar 2022 06:06:51 +0000 (11:36 +0530)]
gnu: cl-md5: Update to 2.0.5.

* gnu/packages/lisp-xyz.scm (sbcl-md5): Update to 2.0.5.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: komikku: Update to 0.37.0.
Liliana Marie Prikler [Fri, 4 Mar 2022 19:43:08 +0000 (20:43 +0100)]
gnu: komikku: Update to 0.37.0.

* gnu/packages/gnome.scm (komikku): Update to 0.37.0.

2 years agognu: racket-vm-cs: Build with "--enable-scheme".
Philip McGrath [Sun, 27 Feb 2022 21:29:20 +0000 (16:29 -0500)]
gnu: racket-vm-cs: Build with "--enable-scheme".

* gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Replace
'chez-scheme-for-racket-bootstrap-bootfiles' with 'chez-scheme-for-racket'.
[arguments]<#:phases>: Delete 'unpack-bootfiles'.
<#:configure-flags>: Add "--enable-scheme".

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez: Add 'chez-scheme-for-system'.
Philip McGrath [Sun, 27 Feb 2022 21:29:19 +0000 (16:29 -0500)]
gnu: chez: Add 'chez-scheme-for-system'.

* gnu/packages/chez.scm (chez-scheme-for-system): New procedure.
(chez-srfi, chez-web, chez-sockets, chez-matchable, chez-irregex)
(chez-fmt, chez-mit, chez-scmutils): Use 'chez-scheme-for-system'.
* gnu/packages/loko.scm (loko-scheme): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-geiser-chez): Likewise

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: Add chez-scheme-for-racket.
Philip McGrath [Sun, 27 Feb 2022 21:29:18 +0000 (16:29 -0500)]
gnu: Add chez-scheme-for-racket.

The Racket variant of Chez Scheme can be used to support platforms that
are not yet supported by upstream Chez Scheme.

* gnu/packages/chez.scm (chez-scheme-for-racket): New variable.
(chez-scheme-for-racket-bootstrap-bootfiles)[version]
[supported-systems]: Derive from 'chez-scheme-for-racket'.
* gnu/packages/racket.scm (%racket-version): Update comment.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-mit: Support chez-scheme-for-racket.
Philip McGrath [Sun, 27 Feb 2022 21:29:17 +0000 (16:29 -0500)]
gnu: chez-mit: Support chez-scheme-for-racket.

Racket's variant of Chez Scheme defines 'string->uninterned-symbol',
which conflicts with the definition from '(chez mit)'. See discussion at
<https://github.com/racket/racket/issues/4151>.

* gnu/packages/chez.scm (chez-mit)[origin]<snippet>: Add workaround for
chez-scheme-for-racket.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-scheme: Explicitly package bootstrap bootfiles.
Philip McGrath [Sun, 27 Feb 2022 21:29:16 +0000 (16:29 -0500)]
gnu: chez-scheme: Explicitly package bootstrap bootfiles.

This makes the structure of the upstream Chez Scheme package the same as
for the Racket variant, it sets things up for (one day, hopefully)
actually being able to bootstrap the upstream Chez Scheme bootfiles, and
it may be useful for cross-compilation and adding support for
architectures without pre-built bootfiles from upstream.

* gnu/packages/chez.scm (chez-scheme-bootstrap-bootfiles): New
variable.
(chez-scheme)[native-inputs]: Add it.
[arguments]<#:phases>: Add 'unpack-bootfiles'.
(chez-scheme-for-racket-bootstrap-bootfiles): Inherit from
'chez-scheme-bootstrap-bootfiles'.
[arguments]: Adapt accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: Add chez-nanopass.
Philip McGrath [Sun, 27 Feb 2022 21:29:15 +0000 (16:29 -0500)]
gnu: Add chez-nanopass.

* gnu/packages/chez.scm (nanopass): Rename to ...
(chez-nanopass-bootstrap): ... this new variable, and promote it from an
origin to a package.
(chez-nanopass): New variable.
(unpack-nanopass+stex): New variable using 'chez-nanopass-bootstrap'.
(chez-scheme-for-racket-bootstrap-bootfiles)
(chez-scheme)[native-inputs]: Add 'chez-nanopass-bootstrap'.
[arguments]<#:phases>: Adapt 'unpack-nanopass+stex' phase
to use the new variable.
* gnu/packages/racket.scm (racket-vm-cs): Likewise.
(make-unpack-nanopass+stex): Remove it.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: Add stex.
Philip McGrath [Sun, 27 Feb 2022 21:29:14 +0000 (16:29 -0500)]
gnu: Add stex.

* gnu/packages/chez.scm (stex-bootstrap): New hidden package.
(stex): Change from origin to package inheriting from 'stex-bootstrap'
(chez-scheme)[native-inputs]: Add 'stex-bootstrap'. Remove dependencies
of stex-bootstrap.
[arguments]<#:phases>: Remove 'prepare-stex'. Adjust
'unpack-nanopass+stex' and 'install-doc'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-scheme: Use new package style.
Philip McGrath [Sun, 27 Feb 2022 21:29:13 +0000 (16:29 -0500)]
gnu: chez-scheme: Use new package style.

* gnu/packages/chez.scm (chez-scheme)[inputs]: Remove labels.
[native-inputs]: Likewise.
[arguments]: Use G-expressions.
<#:phases>: Use 'search-input-file' instead of 'assoc-ref'.
(nanopass): Make public as a temporary workaround for Racket.
* gnu/packages/racket.scm (make-unpack-nanopass+stex): Update
accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-scheme: Use shared zlib and lz4.
Philip McGrath [Sun, 27 Feb 2022 21:29:12 +0000 (16:29 -0500)]
gnu: chez-scheme: Use shared zlib and lz4.

This change also involves building 'libkernel.a' instead of 'kernel.o'.

Support for these build options was merged upstream in 2019: see
discussion at <https://github.com/cisco/ChezScheme/pull/443>.

* gnu/packages/chez.scm (chez-scheme)[inputs]: Remove 'zlib:static' and
'lz4:static'.
[arguments]: Adjust configure phase accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-scheme: Use "lib/chez-scheme" for search path.
Philip McGrath [Sun, 27 Feb 2022 21:29:11 +0000 (16:29 -0500)]
gnu: chez-scheme: Use "lib/chez-scheme" for search path.

There does not seem to be any widely accepted standard path to use for
"CHEZSCHEMELIBDIRS". Using a path without a version number in it avoids
having to compute the actual path everywhere, which would be especially
unpleasant when support is added for the Racket variant of Chez Scheme,
which always has a different version number than upstream.

* gnu/packages/chez.scm (chez-scheme)[native-search-paths]: Change to
use "lib/chez-scheme" instead of "lib/csvX.Y.Z-site" for
"CHEZSCHEMELIBDIRS".
(chez-make-flags): Update accordingly.
(chez-sockets)[arguments]<#:phases>: Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez-scheme: Use new style for Chez packages.
Philip McGrath [Sun, 27 Feb 2022 21:29:10 +0000 (16:29 -0500)]
gnu: chez-scheme: Use new style for Chez packages.

* gnu/packages/chez.scm (chez-configure, chez-make-flags): Use
G-expressions.
(chez-srfi)[arguments]: Use G-expressions, 'chez-configure', and
'chez-make-flags'.
(chez-web, chez-sockets)[native-inputs]: Remove labels.
[arguments]: Use G-expressions.
(chez-matchable, chez-irregex, chez-fmt, chez-mit)
(chez-scmutils)[arguments]: Use G-expressions.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket: Add 'racket-vm-for-system'.
Philip McGrath [Sun, 27 Feb 2022 21:29:09 +0000 (16:29 -0500)]
gnu: racket: Add 'racket-vm-for-system'.

* gnu/packages/racket.scm (racket-vm-for-system): New procedure.
(racket-minimal, racket)[inputs]: Use it.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: chez: Add utilities for Chez machine types.
Philip McGrath [Sun, 27 Feb 2022 21:29:08 +0000 (16:29 -0500)]
gnu: chez: Add utilities for Chez machine types.

* gnu/packages/chez.scm (chez-machine->nonthreaded)
(chez-machine->threaded, chez-machine->nix-system)
(nix-system->chez-machine, chez-upstream-features-for-system)
(%nix-arch-to-chez-alist, %nix-os-to-chez-alist): New variables.
(chez-scheme)[supported-systems]: Compute based on
'nix-system->chez-machine' and 'chez-upstream-features-for-system'.
(chez-scheme-for-racket-bootstrap-bootfiles)[supported-systems]: Compute
based on 'nix-system->chez-machine'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket: Move Chez bootfiles to (gnu packages chez).
Philip McGrath [Sun, 27 Feb 2022 21:29:07 +0000 (16:29 -0500)]
gnu: racket: Move Chez bootfiles to (gnu packages chez).

* gnu/packages/racket.scm (chez-scheme-for-racket-bootstrap-bootfiles):
Move to ...
* gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles):
... this new variable.
[source]: Avoid problematic cycle with "racket.scm".
[arguments]<#:phases>: Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Separate from the Racket VM.
Philip McGrath [Sun, 27 Feb 2022 21:29:06 +0000 (16:29 -0500)]
gnu: racket-minimal: Separate from the Racket VM.

For consistency with other Racket distributions, 'racket-minimal' should
have the "racket-lib" Racket package installed: see
<https://github.com/racket/racket/issues/3851#issuecomment-942368947>.

Happily, this gives us a clean boundary between the core Racket VM and
compiler, with all of the bootstrapping involved, and building Racket
packages and installation layers, which can be handled in a nice,
uniform way and eventually turned into a 'racket-build-system'.
Building the VM layer as an "in-place" installation should help us use
it with other Racket tools.

* gnu/packages/racket.scm (racket-vm-common-configure-flags): Add
"--enable-origtree" and --prefix. Adapt "--enable-racket=" accordingly.
(racket-minimal-bc-cgc): Rename to ...
(racket-vm-cgc): ... this new variable.
[inputs]: Move 'openssl' and 'sqlite' to new 'racket-minimal'.
[arguments]<#:strip-directories>: Use "opt/racket-vm/" prefix.
<#:phases>: Adapt 'initialize-config.rktd' for removal of
'openssl' and 'sqlite'.
[description]: Tweak.
(racket-minimal-bc-3m): Rename to ...
(racket-vm-bc): ... this new variable.
[synopsis, description]: Tweak.
(racket-vm-cs): New variable, adapted from the old 'racket-minimal'.
(chez-scheme-for-racket-bootstrap-bootfiles)[arguments]<#:phhases>:
Adapt to the "opt/racket-vm/" prefix.
(racket-minimal): Rewrite like 'racket' using 'racket-vm-cs'.
(racket): Inherit from 'racket-minimal'.
[inputs]: Add 'racket-vm-cs'. Move "racket-lib" and "base" to
'racket-minimal'.
[arguments]<#:make-flags, #:configure-flags>: Override from
'racket-minimal'.
(configure-layer.rkt): Adapt to support in-place VM build with possible
intermediate layer.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: configure-layer.rkt: Adjust indentation.
Philip McGrath [Sun, 27 Feb 2022 21:29:05 +0000 (16:29 -0500)]
gnu: configure-layer.rkt: Adjust indentation.

* gnu/packages/racket.scm (configure-layer.rkt): Wrap 'command-line' in
'define-values' to reduce rightward drift.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Add "debug" output.
Philip McGrath [Sun, 27 Feb 2022 21:29:04 +0000 (16:29 -0500)]
gnu: racket-minimal: Add "debug" output.

* gnu/packages/racket.scm (racket-minimal-bc-cgc)[outputs]: Add "debug".
(racket-vm-common-configure-flags): Add "--disable-strip".

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Adjust indentation.
Philip McGrath [Sun, 27 Feb 2022 21:29:03 +0000 (16:29 -0500)]
gnu: racket-minimal: Adjust indentation.

* gnu/packages/racket.scm (racket-minimal-bc-cgc): Use 'hidden-package'
rather than 'properties'.
(racket-minimal-bc-3m): Remove redundant 'hidden-package' wrapper.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Change inheritance to follow bootstrapping.
Philip McGrath [Sun, 27 Feb 2022 21:29:02 +0000 (16:29 -0500)]
gnu: racket-minimal: Change inheritance to follow bootstrapping.

Having the package inheritance chain go in the same direction as the
bootstrapping chain, rather than the opposite, is less confusing. In
some cases, it can also help to avoid unnecessary rebuilds.

* gnu/packages/racket.scm (racket-minimal-bc-cgc): Change to be the root
of the package inheritance chain.
[version, source, inputs, native-inputs, build-system, arguments]
[home-page, license]: Inline formerly inherited values.
(racket-minimal-bc-3m): Inherit from 'racket-minimal-bc-cgc' rather than
'racket-minimal'.
[inputs, native-inputs, arguments, license]: Adjust accordingly.
(racket-minimal): Inherit from 'racket-minimal-bc-3m'.
[inputs, native-inputs, arguments, license]: Adjust accordingly.
[properties]: Override effect of 'hidden-package'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Don't configure non-existant catalogs.
Philip McGrath [Sun, 27 Feb 2022 21:29:01 +0000 (16:29 -0500)]
gnu: racket-minimal: Don't configure non-existant catalogs.

* gnu/packages/racket.scm (racket-minimal)[arguments]<#:phases>: Change
'initialize-config.rktd' to only add a release catalog when the package
version is a release version.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket-minimal: Use new package style.
Philip McGrath [Sun, 27 Feb 2022 21:29:00 +0000 (16:29 -0500)]
gnu: racket-minimal: Use new package style.

* gnu/packages/racket.scm (cfg-flag:sh-for-rktio, cfg-flag:enable-lt)
(cfg-flag:enable-racket): Change to G-expressions and combine in ...
(racket-vm-common-configure-flags): ... this new thunk.
(unpack-nanopass+stex): Change to G-expression and move to ...
(make-unpack-nanopass+stex): ... this new thunk.
(racket-bootstrap-chez-bootfiles): Rename to ...
(chez-scheme-for-racket-bootstrap-bootfiles): ... this new variable, and
stop inheriting from 'racket-minimal'.
[native-inputs]: Remove labels.
[build-system]: Use 'copy-build-system'.
[arguments]: Use G-expressions. Install under "lib".
(racket-minimal)[inputs, native-inputs]: Remove labels.
[arguments]: Use G-expressions. Avoid 'assoc-ref'. Adapt to changes in
'chez-scheme-for-racket-bootstrap-bootfiles'.
(racket-minimal-bc-3m)[native-inputs]: Remove labels.
[arguments]: Use G-expressions.
(racket-minimal-bc-cgc)[native-inputs]: Remove labels.
[arguments]: Use G-expressions.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket: Use Git origins for Racket packages.
Philip McGrath [Sun, 27 Feb 2022 21:28:59 +0000 (16:28 -0500)]
gnu: racket: Use Git origins for Racket packages.

* gnu/packages/patches/racket-gui-tethered-launcher-backport.patch:
Adjust path.
* gnu/packages/racket.scm (racket-packages-origin)
(simple-racket-origin): New procedures.
(extend-layer): Rename to ...
(configure-layer.rkt): ... this variable.  Tweak command-line arguments.
Adapt to 'config-tethered-apps-dir'.
(racket): Stop inheriting from 'racket-minimal'.
[version]: Use '%racket-version'.
[source]: Stop using bundled tarball.
[inputs]: Remove labels. Add 'racket-minimal' and package sources.
[native-inputs]: Reduce to racket-minimal.
Untested, as cross-compilation doesn't work yet.
[arguments]: Rewrite to use G-expressions, package sources from
'inputs', an explicit 'install' phase, and the revised
'configure-layer.rkt'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: racket: Update to 8.4.
Philip McGrath [Sun, 27 Feb 2022 21:28:58 +0000 (16:28 -0500)]
gnu: racket: Update to 8.4.

* gnu/packages/patches/racket-enable-scheme-backport.patch,
gnu/packages/patches/racket-gui-tethered-launcher-backport.patch: New
patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/racket.scm (%racket-version, %racket-commit)
(%racket-origin): New variables.
[patches]: Add "racket-enable-scheme-backport.patch".
(racket-minimal): Update to 8.4.
[version]: Use '%racket-version'.
[source]: Use '%racket-origin'.
[inputs]: Add 'ncurses'. Remove 'zlib:static' and 'lz4:static'.
(racket-minimal-bc-3m)[inputs]: Adjust accordingly.
(racket-bootstrap-chez-bootfiles)[version]: Use Chez Scheme's
'(scheme-fork-version-number)'.
(racket)[version]: Use '%racket-version'.
[native-inputs]: Use '%racket-origin'.
[source]: Update to 8.4.
<patches>: Use "racket-gui-tethered-launcher-backport.patch".
<snippet>: Remove "srfi-doc-nonfree".

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: Use license prefix in (gnu packages racket).
Philip McGrath [Sun, 27 Feb 2022 21:28:57 +0000 (16:28 -0500)]
gnu: Use license prefix in (gnu packages racket).

* gnu/packages/racket.scm (racket-minimal, racket-minimal-bc-3m)
(racket-bootstrap-chez-bootfiles): Use license prefix.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2 years agognu: kdenlive: Gexp arguments.
Vinicius Monego [Fri, 4 Mar 2022 21:35:09 +0000 (18:35 -0300)]
gnu: kdenlive: Gexp arguments.

* gnu/packages/kde.scm (kdenlive)[arguments]: Rewrite as gexps.

2 years agognu: kdenlive: Add dependency on ladspa.
Vinicius Monego [Fri, 4 Mar 2022 21:15:36 +0000 (18:15 -0300)]
gnu: kdenlive: Add dependency on ladspa.

* gnu/packages/kde.scm (kdenlive)[inputs]: Add ladspa.
[arguments]<#:phases>: Wrap LADSPA_PATH in the 'wrap-executable phase.

2 years agognu: kdenlive: Update to 21.12.3.
Vinicius Monego [Wed, 2 Feb 2022 12:45:11 +0000 (09:45 -0300)]
gnu: kdenlive: Update to 21.12.3.

* gnu/packages/kde.scm (kdenlive): Update to 21.12.3.
[source]: Use git-file-name function.
[inputs]: Add bash-minimal.

2 years agognu: cl-olc: Update to 1.0-1.0269ed7.
Guillaume Le Vaillant [Fri, 4 Mar 2022 21:20:27 +0000 (22:20 +0100)]
gnu: cl-olc: Update to 1.0-1.0269ed7.

* gnu/packages/lisp-xyz.scm (sbcl-olc): Update to 1.0-1.0269ed7.

2 years agognu: cl-maidenhead: Update to 1.0-1.202671f.
Guillaume Le Vaillant [Fri, 4 Mar 2022 21:17:30 +0000 (22:17 +0100)]
gnu: cl-maidenhead: Update to 1.0-1.202671f.

* gnu/packages/lisp-xyz.scm (sbcl-maidenhead): Update to 1.0-1.202671f.

2 years agognu: cl-mgrs: Update to 1.0-1.c06f268.
Guillaume Le Vaillant [Fri, 4 Mar 2022 21:15:31 +0000 (22:15 +0100)]
gnu: cl-mgrs: Update to 1.0-1.c06f268.

* gnu/packages/lisp-xyz.scm (sbcl-mgrs): Update to 1.0-1.c06f268.

2 years agognu: hello: Update to 2.12.
Maxim Cournoyer [Fri, 4 Mar 2022 03:44:45 +0000 (22:44 -0500)]
gnu: hello: Update to 2.12.

* gnu/packages/base.scm (hello): Update to 2.12.

2 years agognu: Add kdiskmark.
Maxim Cournoyer [Thu, 3 Mar 2022 21:43:14 +0000 (16:43 -0500)]
gnu: Add kdiskmark.

* gnu/packages/benchmark.scm (kdiskmark): New variable.

2 years agognu: sudo: Update to 1.9.10.
Tobias Geerinckx-Rice [Sun, 27 Feb 2022 00:00:01 +0000 (01:00 +0100)]
gnu: sudo: Update to 1.9.10.

* gnu/packages/admin.scm (sudo): Update to 1.9.10.

2 years agognu: python-scikit-image: Update to 0.19.2.
Vinicius Monego [Fri, 25 Feb 2022 05:05:27 +0000 (02:05 -0300)]
gnu: python-scikit-image: Update to 0.19.2.

* gnu/packages/python-science.scm (python-scikit-image): Update to 0.19.2.

2 years agognu: mlt: Update to 7.4.0.
Vinicius Monego [Wed, 2 Feb 2022 17:40:53 +0000 (14:40 -0300)]
gnu: mlt: Update to 7.4.0.

* gnu/packages/video.scm (mlt): Update to 7.4.0.

2 years agognu: mlt: Wrap FREI0R_PATH and LADSPA_PATH.
Vinicius Monego [Wed, 2 Feb 2022 14:31:36 +0000 (11:31 -0300)]
gnu: mlt: Wrap FREI0R_PATH and LADSPA_PATH.

* gnu/packages/video.scm (mlt)[arguments]: Use gexps. Add 'wrap-executable
phase.
[inputs]: Add bash-minimal.

2 years agognu: emacs-xref: Update to 1.4.1.
Nicolas Goaziou [Thu, 3 Mar 2022 23:37:45 +0000 (00:37 +0100)]
gnu: emacs-xref: Update to 1.4.1.

* gnu/packages/emacs-xyz.scm (emacs-xref): Update to 1.4.1.

2 years agognu: dovecot: Fix backtrace test on aarch64.
Pierre Langlois [Thu, 24 Feb 2022 22:09:45 +0000 (22:09 +0000)]
gnu: dovecot: Fix backtrace test on aarch64.

* gnu/packages/mail.scm (dovecot)[arguments]: Add LDFLAGS=-rdynamic to
make-flags.

2 years agognu: texlive-latex-listings, texlive-latex-pgf: Do not deprecate the variable.
Ludovic Courtès [Thu, 3 Mar 2022 22:54:22 +0000 (23:54 +0100)]
gnu: texlive-latex-listings, texlive-latex-pgf: Do not deprecate the variable.

This is a followup to 107138164611a11972f261818373d1de95b3216d and
e5dbda5abc23c5ed716121872d1bbaa8bfcee79e, which had the downside that
remaining references to these two variables would trigger deprecation
warning during the "Computing Guix derivation" phase of 'guix pull'.

* gnu/packages/tex.scm (texlive-latex-listings, texlive-latex-pgf): Use
plain 'define-public' instead of 'define-deprecated-package'.

2 years agognu: Add emacs-spell-fu.
Niklas Eklund [Wed, 2 Feb 2022 18:49:46 +0000 (19:49 +0100)]
gnu: Add emacs-spell-fu.

* gnu/packages/emacs-xyz.scm (emacs-spell-fu): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add jj.
jgart [Mon, 7 Feb 2022 02:27:53 +0000 (21:27 -0500)]
gnu: Add jj.

* gnu/packages/messaging.scm (jj): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2 years agoservices: openvpn: Actually save log file.
Cameron Chaparro [Thu, 24 Feb 2022 21:49:15 +0000 (15:49 -0600)]
services: openvpn: Actually save log file.

* gnu/services/vpn.scm (openvpn-shepherd-service): Pass #:log-file to
'make-forkexec-constructor'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add wtype.
Tanguy Le Carrour [Mon, 21 Feb 2022 18:33:03 +0000 (19:33 +0100)]
gnu: Add wtype.

* gnu/packages/freedesktop.scm (wtype): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodownload: Fix typo in procedure name.
Ludovic Courtès [Thu, 3 Mar 2022 21:44:25 +0000 (22:44 +0100)]
download: Fix typo in procedure name.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Rename
to...
(make-credentials-with-ca-trust-files): ... this.

2 years agodownload: Load X.509 certificates only once.
Ludovic Courtès [Thu, 3 Mar 2022 21:42:31 +0000 (22:42 +0100)]
download: Load X.509 certificates only once.

Previously we'd load /etc/ssl/certs/*.pem (or similar) every time
'http-fetch' is called.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Wrap
in 'mlambda'.

2 years agodownload: Remove obsolete bit from docstring.
Ludovic Courtès [Thu, 3 Mar 2022 21:33:26 +0000 (22:33 +0100)]
download: Remove obsolete bit from docstring.

This is a followup to f4cde9ac4aedb516c050a30fd999673da434bfa0.

* guix/build/download.scm (open-connection-for-uri): Remove bit about
'close-connection' from the docstring.

2 years agognu: diffoscope: Update to 206.
Vagrant Cascadian [Thu, 3 Mar 2022 18:07:14 +0000 (10:07 -0800)]
gnu: diffoscope: Update to 206.

* gnu/packages/diffoscope.scm (diffoscope): Update to 206.

2 years agognu: Add c2ffi.
Attila Lendvai [Thu, 3 Mar 2022 18:36:28 +0000 (19:36 +0100)]
gnu: Add c2ffi.

* gnu/packages/cpp.scm (c2ffi): New variable.

Co-authored-by: muradm <mail@muradm.net>
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add barrier.
Mathieu Othacehe [Thu, 3 Mar 2022 16:38:38 +0000 (17:38 +0100)]
gnu: Add barrier.

* gnu/packages/barrier.scm: New file.
* gnu/local.mk: Add it.

2 years agognu: Add gulrak-filesystem.
Mathieu Othacehe [Thu, 3 Mar 2022 16:38:28 +0000 (17:38 +0100)]
gnu: Add gulrak-filesystem.

* gnu/packages/cpp.scm (gulrak-filesystem): New variable.

2 years agognu: cl-caveman: Update to 2.4.0.35cd8bc.
jgart [Thu, 3 Mar 2022 05:13:57 +0000 (00:13 -0500)]
gnu: cl-caveman: Update to 2.4.0.35cd8bc.

* gnu/packages/lisp-xyz.scm (sbcl-caveman): Update to 2.4.0.35cd8bc.
  [inputs]: Add sbcl-sxql.
  [native-inputs]: Add sbcl-prove, sbcl-lack, and sbcl-trivial-types.
  [arguments]: Delete remove-v1 phase, add test-asd-file keyword, add missing
  files to asd-files and asd-systems keywords, and add more commentary on reason
  for failing test.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: cl-mcclim: Update to 0.9.7-2.292343f.
Guillaume Le Vaillant [Thu, 3 Mar 2022 14:15:02 +0000 (15:15 +0100)]
gnu: cl-mcclim: Update to 0.9.7-2.292343f.

* gnu/packages/lisp-xyz.scm (sbcl-mcclim): Update to 0.9.7-2.292343f.
  [inputs]: Use new style.
  [arguments]: Update 'fix-paths' phase.

2 years agognu: Add cl-dejavu.
Guillaume Le Vaillant [Thu, 3 Mar 2022 14:00:25 +0000 (15:00 +0100)]
gnu: Add cl-dejavu.

* gnu/packages/lisp-xyz.scm (cl-dejavu, ecl-cl-dejavu, sbcl-cl-dejavu): New
  variables.

2 years agognu: cl-zpb-exif: Update to 1.2.5.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:37:03 +0000 (14:37 +0100)]
gnu: cl-zpb-exif: Update to 1.2.5.

* gnu/packages/lisp-xyz.scm (sbcl-zpb-exif): Update to 1.2.5.

2 years agognu: cl-retrospectiff: Update to 0.2-1.2fbf8c6.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:33:20 +0000 (14:33 +0100)]
gnu: cl-retrospectiff: Update to 0.2-1.2fbf8c6.

* gnu/packages/lisp-xyz.scm (sbcl-retrospectiff): Update to 0.2-1.2fbf8c6.

2 years agognu: cl-opticl: Update to 0.0.0-1.f6fc4dc.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:30:08 +0000 (14:30 +0100)]
gnu: cl-opticl: Update to 0.0.0-1.f6fc4dc.

* gnu/packages/lisp-xyz.scm (sbcl-opticl): Update to 0.0.0-1.f6fc4dc.
  [inputs]: Use new style.

2 years agognu: cl-slime-swank: Update to 2.27.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:23:45 +0000 (14:23 +0100)]
gnu: cl-slime-swank: Update to 2.27.

* gnu/packages/lisp-xyz.scm (sbcl-slime-swank): Update to 2.27.

2 years agognu: Add cl-try.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:17:58 +0000 (14:17 +0100)]
gnu: Add cl-try.

* gnu/packages/lisp-check.scm (cl-try, ecl-try, sbcl-try): New variables.

2 years agognu: cl-mgl-pax: Update to 0.1.0-0.ed82a80.
Guillaume Le Vaillant [Thu, 3 Mar 2022 13:10:35 +0000 (14:10 +0100)]
gnu: cl-mgl-pax: Update to 0.1.0-0.ed82a80.

* gnu/packages/lisp-xyz.scm (sbcl-mgl-pax): Update to 0.1.0-0.ed82a80.
  [inputs]: Use new style.
  [arguments]: Add 'asd-files' parameter. Disable tests.

2 years agognu: cl-esrap: Update to 0.18-3.4c82a86.
Guillaume Le Vaillant [Thu, 3 Mar 2022 12:50:26 +0000 (13:50 +0100)]
gnu: cl-esrap: Update to 0.18-3.4c82a86.

* gnu/packages/lisp-xyz.scm (sbcl-esrap): Update to 0.18-3.4c82a86.

2 years agognu: cl-hunchentoot: Fix build.
Guillaume Le Vaillant [Thu, 3 Mar 2022 12:36:52 +0000 (13:36 +0100)]
gnu: cl-hunchentoot: Fix build.

* gnu/packages/lisp-xyz.scm (sbcl-hunchentoot)[arguments]: Disable tests.

2 years agognu: cl-osicat: Update to 0.7.0-3.a45eb3b.
Guillaume Le Vaillant [Thu, 3 Mar 2022 10:56:41 +0000 (11:56 +0100)]
gnu: cl-osicat: Update to 0.7.0-3.a45eb3b.

* gnu/packages/lisp-xyz.scm (sbcl-osicat): Update to 0.7.0-3.a45eb3b.

2 years agognu: cl-fad: Update to 0.7.6-1.3f4d32d.
Guillaume Le Vaillant [Thu, 3 Mar 2022 10:51:08 +0000 (11:51 +0100)]
gnu: cl-fad: Update to 0.7.6-1.3f4d32d.

* gnu/packages/lisp-xyz.scm (sbcl-cl-fad): Update to 0.7.6-1.3f4d32d.
  [native-inputs]: Add cl-ppcre and unit-test.
  [inputs]: Add alexandria.

2 years agognu: cl+ssl: Update to 0.0.0-3.046d698.
Guillaume Le Vaillant [Thu, 3 Mar 2022 10:37:46 +0000 (11:37 +0100)]
gnu: cl+ssl: Update to 0.0.0-3.046d698.

* gnu/packages/lisp-xyz.scm (sbcl-cl+ssl): Update to 0.0.0-3.046d698.
  [native-inputs]: Add fiveam.
  [arguments]: Add 'fix-tests' phase.

2 years agognu: cl-chipz: Update to 0.8-2.82a17d3.
Guillaume Le Vaillant [Thu, 3 Mar 2022 10:03:37 +0000 (11:03 +0100)]
gnu: cl-chipz: Update to 0.8-2.82a17d3.

* gnu/packages/lisp-xyz.scm (sbcl-chipz): Update to 0.8-2.82a17d3.
  [source]: Switch to maintained repository.

2 years agognu: sbcl-ironclad: Update to 0.57.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:57:52 +0000 (10:57 +0100)]
gnu: sbcl-ironclad: Update to 0.57.

* gnu/packages/lisp-xyz.scm (sbcl-ironclad): Update to 0.57.

2 years agognu: cl-babel: Update to 0.5.0-2.f892d05.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:48:30 +0000 (10:48 +0100)]
gnu: cl-babel: Update to 0.5.0-2.f892d05.

* gnu/packages/lisp-xyz.scm (sbcl-babel): Update to 0.5.0-2.f892d05.
  [license]: Add bsd-2.

2 years agognu: cl-strings: Update to 0.0.1-1.93ec417.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:42:44 +0000 (10:42 +0100)]
gnu: cl-strings: Update to 0.0.1-1.93ec417.

* gnu/packages/lisp-xyz.scm (sbcl-cl-strings): Update to 0.0.1-1.93ec417.
  [source]: Use git-file-name function.
  [synopsis]: Shorten it.

2 years agognu: cl-uglify-js: Improve package definition.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:37:25 +0000 (10:37 +0100)]
gnu: cl-uglify-js: Improve package definition.

* gnu/packages/lisp-xyz.scm (sbcl-cl-uglify-js)[source]: Use git-version
  function.

2 years agognu: cl-iterate: Update to 1.5.3.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:34:11 +0000 (10:34 +0100)]
gnu: cl-iterate: Update to 1.5.3.

* gnu/packages/lisp-xyz.scm (sbcl-iterate): Update to 1.5.3.
  [source]: Use git-fetch method.

2 years agognu: cl-parse-js: Improve package definition.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:27:14 +0000 (10:27 +0100)]
gnu: cl-parse-js: Improve package definition.

* gnu/packages/lisp-xyz.scm (sbcl-parse-js)[source]: Use git-version and
  git-file-name functions.

2 years agognu: cl-pdf: Update to 2.0.0-2.f57905e.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:22:34 +0000 (10:22 +0100)]
gnu: cl-pdf: Update to 2.0.0-2.f57905e.

* gnu/packages/lisp-xyz.scm (sbcl-cl-pdf): Update to 2.0.0-2.f57905e.
  [arguments]: Add cl-pdf-parser to 'asd-systems'.

2 years agognu: cl-flexichain: Update to 1.5.1-2.9af644a.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:15:11 +0000 (10:15 +0100)]
gnu: cl-flexichain: Update to 1.5.1-2.9af644a.

* gnu/packages/lisp-xyz.scm (sbcl-flexichain): Update to 1.5.1-2.9af644a.
  [inputs]: Add trivial-garbage.

2 years agognu: cl-zpb-ttf: Update to 1.0.4.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:09:36 +0000 (10:09 +0100)]
gnu: cl-zpb-ttf: Update to 1.0.4.

* gnu/packages/lisp-xyz.scm (sbcl-zpb-ttf): Update to 1.0.4.

2 years agognu: cl-trivial-gray-streams: Update to 2.0-1.2b3823e.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:04:08 +0000 (10:04 +0100)]
gnu: cl-trivial-gray-streams: Update to 2.0-1.2b3823e.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-gray-streams): Update
  to 2.0-1.2b3823e.
  [source]: Use git-version and git-file-name functions.

2 years agognu: sbcl: Update to 2.2.2.
Guillaume Le Vaillant [Thu, 3 Mar 2022 09:02:46 +0000 (10:02 +0100)]
gnu: sbcl: Update to 2.2.2.

* gnu/packages/lisp.scm (sbcl): Update to 2.2.2.