Commit graph

82725 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
fa4419a84a
gnu: hplip: Update to 3.21.8.
* gnu/packages/cups.scm (hplip): Update to 3.21.8.
2021-09-18 23:16:22 +02:00
Tobias Geerinckx-Rice
517bd08609
gnu: jtbl: Update to 1.1.7.
* gnu/packages/admin.scm (jtbl): Update to 1.1.7.
2021-09-18 23:16:22 +02:00
Tobias Geerinckx-Rice
d2979e59f0
gnu: goxel: Update to 0.10.8.
* gnu/packages/graphics.scm (goxel): Update to 0.10.8.
2021-09-18 23:16:21 +02:00
Ludovic Courtès
eb6593cec4
Update NEWS. 2021-09-18 23:08:32 +02:00
Ludovic Courtès
dce2cf311b
git: 'reference-available?' recognizes 'tag-or-commit'.
* guix/git.scm (reference-available?): Handle 'tag-or-commit' with a
40-digit hex string.
2021-09-18 23:08:32 +02:00
Ludovic Courtès
05f44c2d85
git: 'update-cached-checkout' can fall back to SWH when cloning.
Fixes <https://issues.guix.gnu.org/44187>.
Reported by zimoun <zimon.toutoune@gmail.com>.

* guix/git.scm (GITERR_HTTP): New variable.
(clone-from-swh, clone/swh-fallback): New procedures.
(update-cached-checkout): Use 'clone/swh-fallback' instead of 'clone*'.
2021-09-18 23:08:32 +02:00
Ludovic Courtès
6ec81c31c0
swh: Support downloads of bare Git repositories.
* guix/swh.scm (swh-download-archive): New procedure.
(swh-download-directory): Rewrite in terms of 'swh-download-archive'.
(swh-download): Add #:archive-type and honor it.  Use
'swh-download-archive' instead of 'swh-download-directory'.
2021-09-18 23:08:32 +02:00
Sarah Morgensen
281ede2e7d
import: go: Match "go-import" meta tags anywhere.
Some personal sites forget to put <meta name="go-import" ...> in a
<head> element, so look anywhere for them.

Partly fixes <https://issues.guix.gnu.org/50595>.
Reported by Stephen Paul Weber <singpolyma@singpolyma.net>.

* guix/import/go.scm (fetch-module-meta-data): Match "go-import" meta
tags anywhere in the page.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 23:08:32 +02:00
Sarah Morgensen
b3907e304d
import: go: Improve handling of modules in VCS subdirectories.
Use the supplied module path (instead of the repository root) as the import
path for everything except source and homepage URLs.  For modules not in the
root of a VCS repository, set #:unpack-path to the repository root by default.

Partly fixes <https://issues.guix.gnu.org/50595>.
Reported by Stephen Paul Weber <singpolyma@singpolyma.net>.

* guix/import/go.scm (go-module->guix-package): Use 'module-path'
instead of 'root-module-path' for #:import-path.  Emit #:unpack-path
when #:import-path is not equal to 'root-module-path'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 23:08:32 +02:00
Ludovic Courtès
7bae88b5b9
gnu: guix: Update to 808f9ff.
* gnu/packages/package-management.scm (guix): Update to 808f9ff.
2021-09-18 23:08:31 +02:00
Wiktor Żelazny
337b7f5a13
gnu: Add r-ggh4x.
* gnu/packages/cran.scm (r-ggh4x): New variable.
2021-09-18 22:24:50 +02:00
Ricardo Wurmus
230a8888fd
gnu: plymouth: Update to 0.9.5.
* gnu/packages/freedesktop.scm (plymouth): Update to 0.9.5.
[arguments]: Remove trailing boolean.
[native-inputs]: Add gettext-minimal.
2021-09-18 22:24:45 +02:00
Maxime Devos
808f9ffbd3
import: minetest: Strip "v" prefixes from the version number.
This fixes one of the issues noted at <https://issues.guix.gnu.org/50425#4>.

* guix/import/minetest.scm
  (release-version): New procedure.
  (%minetest->guix-package): Call new procedure instead of release-title.
* tests/minetest.scm
  (make-package-sexp): Allow overriding the version number.
  (make-releases-json): Allow overriding the release title.
  ("conventional version number")
  ("v-prefixed version number")
  ("dates as version number"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:43:00 +02:00
Maxime Devos
8480a2a5bb
import: minetest: Delete duplicate dependencies.
This fixes one of the issues noted in <https://issues.guix.gnu.org/50425#4>.

* guix/import/minetest.scm
  (import-dependencies): Call 'delete-duplicates' on the resulting list.
* tests/minetest.scm
  ("minetest->guix-package, multiple dependencies implemented by one mod"):
  New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:42:54 +02:00
Maxime Devos
8d4c0e3104
tests/minetest: Fix 'test-package*' indenting.
* tests/minetest.scm (Local Variables)[test-package*]: Set
  scheme-indent-function property to 1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:41:15 +02:00
Ludovic Courtès
778c1fb4ea
channels: 'channel-news-entry-commit' correctly resolves annotated tags.
Previously, 'channel-news-entry-commit' would return the tag ID rather
than the commit ID when the news entry was referred to via an annotated
tag.

Reported by Xinglu Chen <public@yoctocell.xyz>.

* guix/channels.scm (resolve-channel-news-entry-tag): Check whether the
reference points to annotated tag; resolve it if it does.
* tests/channels.scm ("channel-news, annotated tag"): New test.
2021-09-18 19:37:45 +02:00
Xinglu Chen
59ee10754e
import: Add 'generic-git' updater.
* guix/git.scm (ls-remote-refs): New procedure.
* tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests.
* guix/import/git.scm: New file.
* doc/guix.texi (Invoking guix refresh): Document it.
* tests/import-git.scm: New test file.
* Makefile.am (MODULES, SCM_TESTS): Register the new files.

Co-authored-by: Sarah Morgensen <iskarian@mgsn.dev>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:37:45 +02:00
Xinglu Chen
6597f80839
tests: git: Make 'tag' directive non-interactive.
When running 'git tag TAGNAME', Git will open up the user's default text
editor to make them write a message.  This is not desirable when running
tests.

* guix/tests/git.scm (populate-git-repository): Add a 'tag' directive
that takes an additional argument, and pass it to the '-m' flag.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:37:45 +02:00
Xinglu Chen
4674738cdb
tests: git: Don't read from the users global Git config file.
* guix/tests/git (populate-git-repository): Set the GIT_CONFIG_GLOBAL
environment variable to the temporary Git config file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 19:37:44 +02:00
Ludovic Courtès
358ad74f41
tests: Allow opam test to run without networking.
Fixes a regression introduced in
fc29c80b96, where, since
'get-opam-repository' was no longer mocked, the test would try to access
the actual OPAM repository through a call to 'http-fetch/cached'; this
would lead to a test failure when networking is unavailable.

* tests/opam.scm ("opam->guix-package"): Mock 'get-opam-repository'
again.
2021-09-18 19:37:44 +02:00
phodina
511dc6877e
gnu: Add swaylock-effects.
* gnu/packages/wm.scm (swaylock-effects): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-09-18 15:26:14 +02:00
Liliana Marie Prikler
c4b7bcc256
gnu: komikku: Update to 0.32.0.
* gnu/packages/gnome.scm (komikku): Update to 0.32.0.
2021-09-17 23:38:05 +02:00
phodina
4e2ee45634
gnu: Add rust-dbus-tree-0.9.
* gnu/packages/crates-io.scm (rust-dbus-tree-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:35 +02:00
phodina
840c9def68
gnu: Add rust-dbus-0.9.
* gnu/packages/crates-io.scm (rust-dbus-0.9): New variable.
(rust-dbus-0.6): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:35 +02:00
phodina
1c60c7c183
gnu: Add rust-caps-0.5.
* gnu/packages/crates-io.scm (rust-caps-0.5): New variable.
(rust-caps-0.3): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:34 +02:00
phodina
13dc786c3c
gnu: Add rust-assert-impl-0.1.
* gnu/packages/crates-io.scm (rust-assert-impl-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:34 +02:00
phodina
7a414aaa1e
gnu: Add rust-nl80211-0.0.2.
* gnu/packages/crates-io.scm (rust-nl80211-0.0.2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:34 +02:00
phodina
cea3ff2473
gnu: Add rust-neli-0.4.
* gnu/packages/crates-io.scm (rust-neli-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:33 +02:00
phodina
a8df6cc308
gnu: Add rust-buffering-0.4.
* gnu/packages/crates-io.scm (rust-buffering-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:33 +02:00
phodina
6823129abf
gnu: Add rust-buffering-0.3.
* gnu/packages/crates-io.scm (rust-buffering-0.3): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:33 +02:00
phodina
a6ffe34162
gnu: Add rust-buffering-nocopy-macro-0.2.
* gnu/packages/crates-io.scm (rust-buffering-nocopy-macro-0.2): New variable.
(rust-buffering-nocopy-macro-0.1): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:32 +02:00
phodina
8883144757
gnu: Add rust-buffering-nocopy-macro-0.1.
* gnu/packages/crates-io.scm (rust-buffering-nocopy-macro-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:32 +02:00
phodina
6c3a169eac
gnu: Add rust-swayipc-2.
* gnu/packages/crates-io.scm (rust-swayipc-2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:32 +02:00
phodina
12f7e53b2b
gnu: Add rust-swayipc-command-builder-0.1.
* gnu/packages/crates-io.scm (rust-swayipc-command-builder-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:31 +02:00
phodina
b21026cf91
gnu: Add rust-notmuch-0.6.
* gnu/packages/crates-io.scm (rust-notmuch-0.6): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:31 +02:00
phodina
823202e099
gnu: Add rust-maildir-0.5.
* gnu/packages/crates-io.scm (rust-maildir-0.5): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:31 +02:00
phodina
3fcf196025
gnu: Add rust-mailparse-0.13.
* gnu/packages/crates-io.scm (rust-mailparse-0.13): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:30 +02:00
phodina
acb2e866df
gnu: Add rust-quoted-printable-0.4.
* gnu/packages/crates-io.scm (rust-quoted-printable-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:30 +02:00
phodina
85ba0cff8a
gnu: Add rust-charset-0.1.
* gnu/packages/crates-io.scm (rust-charset-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:30 +02:00
phodina
b9365e93ae
gnu: Add rust-lettre-email-0.9.
* gnu/packages/crates-io.scm (rust-lettre-email-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:29 +02:00
phodina
d4a3b39787
gnu: Add rust-email-0.0.20.
* gnu/packages/crates-io.scm (rust-email-0.0.20): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:29 +02:00
phodina
22972440f5
gnu: Add rust-lettre-0.9.
* gnu/packages/crates-io.scm (rust-lettre-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:29 +02:00
phodina
b20442e7bb
gnu: Add rust-fast-chemail-0.9.
* gnu/packages/crates-io.scm (rust-fast-chemail-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:28 +02:00
phodina
584dcf332a
gnu: Add rust-ascii-utils-0.9.
* gnu/packages/crates-io.scm (rust-ascii-utils-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:28 +02:00
phodina
15f60fec5d
gnu: Add rust-gethostname-0.2.
* gnu/packages/crates-io.scm (rust-gethostname-0.2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:28 +02:00
phodina
b5e45d1a14
gnu: Add rust-supercow-0.1.
* gnu/packages/crates-io.scm (rust-supercow-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:27 +02:00
phodina
e4eeb57845
gnu: Add rust-progress-0.2.
* gnu/packages/crates-io.scm (rust-progress-0.2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:27 +02:00
phodina
464325a7b0
gnu: Add rust-assert-fs-1.
* gnu/packages/crates-io.scm (rust-assert-fs-1): New variable.
(rust-assert-fs-0.11): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-09-17 12:24:26 +02:00
Tobias Geerinckx-Rice
bb49701461
gnu: sudo: Update to 1.9.8p1.
* gnu/packages/admin.scm (sudo): Update to 1.9.8p1.
2021-09-17 10:40:42 +02:00
Tobias Geerinckx-Rice
aa6a397679
gnu: sudo: Omit snippet and phase return value.
* gnu/packages/admin.scm (sudo)[source]: Don't return #t from snippet.
[argument]: Nor from the 'pre-configure phase.
2021-09-17 10:40:42 +02:00