gnu: Add go-staticcheck.
* gnu/packages/golang-check.scm (go-staticcheck): New variable.
Change-Id: I82ce27df1bdbd79ae4740928e0661b585289d02b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: Add go-keyify.
* gnu/packages/golang-check.scm (go-keyify): New variable.
Change-Id: I99d41a18cb0e00dd35bef9c2c8fce12748f24ad4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: Remove go-github-com-kisielk-gotool.
* gnu/packages/golang-check.scm (go-github-com-kisielk-gotool): Delete variable.
Change-Id: Ic99bba40f4cd66335656f27bf7dd97d1b90bb8f1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: go-torproject-org-pluggable-transports-goptlib: Move to (gnu packages golang-crypto).
* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib):
Move from here ...
gnu/packages/golang-crypto.scm: ... to here.
Change-Id: I3bc97e64bd3680405c90eb84c2d7d3c7ff9092e0
gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib)
[arguments] <#:import-path>: Use actual module name from go.mod.
(go-github-com-operatorfoundation-shapeshifter-transports) [arguments]
<#:phases>: Remove obsolete 'patch phase for goptlib.
(go-github-com-operatorfoundation-obfs4) [arguments] <#:phases>: Likewise.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ib2e49164e2c750694101b497afe1be67c7fe6302
services: certbot: Add one-shot service to renew certificates.
* gnu/services/certbot.scm (certbot-renewal-one-shot): New procedure.
(certbot-service-type)[extensions]: Add it to shepherd-root extension.
(certbot-command): Make connection errors return a different exit code.
(certbot-activation): Remove message with certificate renewal instructions.
Change-Id: I614ac6214a753dba0396e2385a75926c8355caa1
Signed-off-by: Clément Lassieur <clement@lassieur.org>
services: certbot: Reload nginx in deploy hook.
* gnu/services/certbot.scm (certbot-deploy-hook): Reload nginx.
* doc/guix.texi (Certificate services): Remove deploy-hook from example.
Change-Id: Ibb10481170a6fda7df72492072b939dd6a6ad176
Signed-off-by: Clément Lassieur <clement@lassieur.org>
services: certbot: Create self-signed certificates before certbot runs.
* gnu/services/certbot.scm (<certificate-configuration>): Add
start-self-signed? field.
(generate-certificate-gexp): New procedure.
(certbot-activation): Generate self-signed certificates when
start-self-signed? is #t.
* doc/guix.texi (Certificate services): Document start-self-signed?.
Change-Id: Icfd85ae0c3e29324acbcde6ba283546cf0e27a1d
Signed-off-by: Clément Lassieur <clement@lassieur.org>
services: certbot: Symlink certificates to /etc/certs.
* gnu/services/certbot.scm (certbot-deploy-hook): New procedure.
(certbot-command): Pass new deploy hook to certbot.
* doc/guix.texi: Replace "letsencrypt/live" with "certs" throughout, except in
the certbot deploy-hook description.
Change-Id: I2ba5e4903d1e293e566b732a84b07d5a134b697d
Signed-off-by: Clément Lassieur <clement@lassieur.org>
gnu: cl-maidenhead: Update to 1.1-1.4b9c38e.
* gnu/packages/lisp-xyz.scm (sbcl-maidenhead): Update to 1.1-1.4b9c38e.
Change-Id: I766a3d70fc330cf0f1628091c6ed52f1085199e5
gnu: cl-command-line-args: Update to 0.1.0.
* gnu/packages/lisp-xyz.scm (sbcl-command-line-args): Update to 0.1.0.
[inputs]: Add sbcl-charje.documentation.
Change-Id: Iadac4decc64f2333878dd5b106e1e82c33b40e30
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
maint: Add gnupg to the manifest.
* manifest.scm: Add gnupg.
Change-Id: Id5e90f87e5c3a07aa3e49afa97cc0b6d3ce71b41
channels: ‘latest-channel-instances’ traverses user-provided channels first.
Previously, ‘latest-channel-instances’ would perform a depth-first
traversal of channels. Since dependencies specified in ‘.guix-channel’
are usually less specific that those provided by the user, this would
lead to the use of instances corresponding to those less specific specs,
which in turn might declare dependencies that do not exist for the more
specific instances.
This commit changes ‘latest-channel-instances’ to perform a
breadth-first traversal, thereby giving user-supplied channels higher
precedence over dependencies found via ‘.guix-channel’.
Fixes <https://issues.guix.gnu.org/68822>.
* guix/channels.scm (latest-channel-instances)[ignore?]: Remove.
[instance-name, same-named?, more-specific?]: New procedures.
Rewrite as a breadth-first traversal using a regular loop.
* tests/channels.scm ("latest-channel-instances reads dependencies from most-specific instance"):
New test.
Change-Id: Iba518145cfd209f04293a56246dbfee3b714650b
channels: Tweak test.
* tests/channels.scm ("latest-channel-instances excludes duplicate channel dependencies"):
Use ‘equal?’ rather than ‘string=?’ since we can get #f.
Change-Id: I437b9d7e23200cf0c98b1593e68b1d355bc2de01
gnu: torbrowser: Copy buildID from the official build.
* gnu/packages/tor.scm (%moz-build-date): Update to 20240115174022.
Reported-by: André Batista <nandre@riseup.net>
Change-Id: Ia057d6efe9db9e04ece03d994ee226ecdbc6cc04
teams: go: Add golang-xyz.scm to scope.
* etc/teams.scm (go): Add "gnu/packages/golang-xyz.scm".
Change-Id: I580eadf52b631c6582e256a2900786b53483a466
gnu: Add go-github-com-matryer-try.
* gnu/packages/golang-check.scm (go-github-com-matryer-try): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ic354425938374fcd29e871a597da63a7a390cfa1
gnu: Add go-github-com-djherbis-atime.
* gnu/packages/golang-xyz.scm (go-github-com-djherbis-atime): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I320070d68e7f590f830060904f5cbdf59d839d1d