Commit graph

62749 commits

Author SHA1 Message Date
Mathieu Othacehe 4febc38d9f
installer: final: Remove restart-service procedure.
* gnu/installer/final.scm (umount-cow-store): Remove "restart-service" that is
now provided by (gnu services herd).
2020-06-16 16:33:55 +02:00
Mathieu Othacehe e23ec7144c
gnu: libmateweather: Fix tests.
Apply the following upstream fix:
ea13e06563.

* gnu/packages/mate.scm (libmateweather)[source]: Fix tests by renaming
America/Godthab timezone to America/Nuuk.
2020-06-16 16:33:55 +02:00
Ludovic Courtès 619972f7b5
maint: "make authenticate" behaves like 'guix pull' by default.
* build-aux/git-authenticate.scm (%use-historical-authorizations?)
(%introductory-commit): New variables.
* build-aux/git-authenticate.scm (git-authenticate): Use pass the empty
list as #:default-authorizations when %USE-HISTORICAL-AUTHORIZATIONS? is
false.
2020-06-16 16:10:47 +02:00
Ludovic Courtès 838ac881ec
time-machine: Add '--disable-authentication'.
* guix/inferior.scm (cached-channel-instance): Add #:authenticate? and
pass it to 'latest-channel-instances'.
* guix/scripts/time-machine.scm (show-help, %options): Add
'--disable-authentication'.
(%default-options): Add 'authenticate-channels?'.
(guix-time-machine): Honor it.
2020-06-16 16:10:47 +02:00
Ludovic Courtès a9eeeaa6ae
pull: Add '--disable-authentication'.
* guix/channels.scm (latest-channel-instance): Add #:authenticate? and
honor it.
(latest-channel-instances): Likewise.
* guix/scripts/pull.scm (%default-options): Add 'authenticate-channels?'.
(show-help, %options): Add '--disable-authentication'.
(guix-pull): Pass #:authenticate? to 'latest-channel-instances'.
* doc/guix.texi (Invoking guix pull): Document it.
2020-06-16 16:10:47 +02:00
Ludovic Courtès c3f6f564e9
channels: Automatically add introduction for the official 'guix' channel.
This is useful when people run "guix time-machine -C channels.scm",
where 'channels.scm' misses channel introductions.

* guix/channels.scm (%default-channel-url): New variable.
(%default-channels): Use it.
(ensure-default-introduction): New procedure.
(latest-channel-instance): Call it.
2020-06-16 16:10:47 +02:00
Ludovic Courtès a941e8fe1f
.guix-channel: Add 'keyring-reference'.
* .guix-channel: Add 'keyring-reference'.
2020-06-16 16:10:47 +02:00
Ludovic Courtès 5bafc70d1e
channels: Make 'validate-pull' call right after clone/pull.
This should come before patching, authentication, etc.

* guix/channels.scm (latest-channel-instance): Add #:validate-pull
parameter and honor it.  Return a single value: the instance.
(ensure-forward-channel-update): Change 'instance' parameter to 'commit'
and adjust accordingly.
(latest-channel-instances): Adjust to 'latest-channel-instance' changes.
* guix/scripts/pull.scm (warn-about-backward-updates): Change 'instance'
parameter to 'commit' and adjust accordingly.
* tests/channels.scm ("latest-channel-instances #:validate-pull"):
Likewise.
2020-06-16 16:10:47 +02:00
Ludovic Courtès 43badf261f
channels: 'latest-channel-instance' authenticates Git checkouts.
Fixes <https://bugs.gnu.org/22883>.

* guix/channels.scm (<channel>)[introduction]: New field.
(<channel-introduction>): New record type.
(%guix-channel-introduction): New variable.
(%default-channels): Use it.
(<channel-metadata>)[keyring-reference]: New field.
(%default-keyring-reference): New variable.
(read-channel-metadata, read-channel-metadata-from-source): Initialize
the 'keyring-reference' field.
(commit-short-id, verify-introductory-commit)
(authenticate-channel): New procedures.
(latest-channel-instance): Call 'authenticate-channel' when CHANNEL has
an introduction.
* tests/channels.scm (gpg+git-available?, commit-id-string): New
procedures.
("authenticate-channel, wrong first commit signer"):
("authenticate-channel, .guix-authorizations"): New tests.
* doc/guix.texi (Invoking guix pull): Mention authentication.
2020-06-16 16:10:47 +02:00
Ludovic Courtès 1e2b9bf2d4
tests: Move OpenPGP helpers to (guix tests gnupg).
* tests/git-authenticate.scm (key-id): Remove.
(%ed25519-public-key-file, %ed25519-secret-key-file)
(%ed25519bis-public-key-file, %ed25519bis-secret-key-file)
(read-openpgp-packet, key-fingerprint): Move to...
* guix/tests/gnupg.scm: ... here.
2020-06-16 16:10:46 +02:00
Ludovic Courtès 41946b79f1
git-authenticate: 'authenticate-commits' takes a #:keyring parameter.
* guix/git-authenticate.scm (authenticate-commits): Add #:keyring
parameter.
2020-06-16 16:10:46 +02:00
Ludovic Courtès a450b4343b
git-authenticate: Cache takes a key parameter.
* guix/git-authenticate.scm (authenticated-commit-cache-file)
(cache-authenticated-commit, previously-authenticated-commits): Add
'key' parameter and honor it.
* build-aux/git-authenticate.scm (git-authenticate): Pass
"channels/guix" as the key.
2020-06-16 16:10:46 +02:00
Ludovic Courtès 33391ee5c1
doc: Recommend "make authenticate" after ./bootstrap.
* doc/contributing.texi (Building from Git): Move "make authenticate"
instructions below.
2020-06-16 16:10:46 +02:00
Efraim Flashner 3646a44a14
build-system: cmake: Add substitutable keyword.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Add
substitutable keyword.
2020-06-16 16:40:27 +03:00
Tobias Geerinckx-Rice b6329d026b
gnu: nix: Look for configuration in /etc.
Fixes <http://issues.guix.gnu.org/41704>.

* gnu/packages/package-management.scm (nix)[arguments]: Add
‘--sysconfdir=/etc’ configure flag and override it during installation.

Requested-and-tested-by: Peng Mei Yu <pengmeiyu@riseup.net>
2020-06-16 13:35:56 +02:00
Tobias Geerinckx-Rice 38ee8f7dba
pack: Add zstd compressor.
* guix/scripts/pack.scm (%compressors): Add zstd.
* doc/guix.texi (Invoking guix pack): Document it.
2020-06-16 13:35:33 +02:00
Ricardo Wurmus 5f7b17a6e1
gnu: emacs-god-mode: Update to 2.17.0.
* gnu/packages/emacs-xyz.scm (emacs-god-mode): Update to 2.17.0.
2020-06-16 12:50:44 +02:00
Pierre Neidhardt 52adfeaed4
gnu: bsnes: Remove unnecessary inputs.
* gnu/packages/emulators.scm (bsnes)[inputs]: Remove gt+-2 and libx11.
2020-06-16 12:15:10 +02:00
Efraim Flashner 88ff06415c
gnu: Add rust-nom-5.
* gnu/packages/crates-io.scm (rust-nom-5): New variable.
(rust-nom-4.2): Inherit from rust-nom-5.
2020-06-16 12:49:05 +03:00
Efraim Flashner 16dcf12736
gnu: Add rust-lexical-core-0.7.
* gnu/packages/crates-io.scm (rust-lexical-core-0.7): New variable.
(rust-lexical-core-0.4): Inherit from rust-lexical-core-0.7.
2020-06-16 12:49:05 +03:00
Efraim Flashner 6675cd8c24
gnu: Add rust-static-assertions-1.
* gnu/packages/crates-io.scm (rust-static-assertions-1): New variable.
(rust-static-assertions-0.3): Inherit from rust-static-assertions-1.
2020-06-16 12:49:05 +03:00
Ricardo Wurmus 76a841cc8b
etc: Add committer script.
* etc/committer.scm.in: New file.
* configure.ac: Configure it.
2020-06-16 11:32:53 +02:00
Pierre Neidhardt 391aff1f68
gnu: Add bsnes.
* gnu/packages/emulators.scm (bsnes): New variable.
2020-06-16 10:56:35 +02:00
Ricardo Wurmus 000c7a0f70
gnu: r-xgboost: Update to 1.1.1.1.
* gnu/packages/cran.scm (r-xgboost): Update to 1.1.1.1.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus 6afe39829d
gnu: r-genenet: Update to 1.2.15.
* gnu/packages/cran.scm (r-genenet): Update to 1.2.15.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus e766bd1f13
gnu: r-performance: Update to 0.4.7.
* gnu/packages/cran.scm (r-performance): Update to 0.4.7.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus ead67125a8
gnu: r-abn: Update to 2.2.1.
* gnu/packages/cran.scm (r-abn): Update to 2.2.1.
[propagated-inputs]: Add r-boot, r-brglm, r-entropy, and r-moments.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus 389a357a72
gnu: r-vioplot: Update to 0.3.5.
* gnu/packages/cran.scm (r-vioplot): Update to 0.3.5.
[native-inputs]: Add r-knitr.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus e89bc53e76
gnu: r-circlize: Update to 0.4.10.
* gnu/packages/cran.scm (r-circlize): Update to 0.4.10.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus b1a7a3bb78
gnu: Add r-entropy.
* gnu/packages/cran.scm (r-entropy): New variable.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus aee8cc0a0d
gnu: Add r-brglm.
* gnu/packages/cran.scm (r-brglm): New variable.
2020-06-16 09:33:53 +02:00
Ricardo Wurmus 6a933e9a8b
gnu: Add r-profilemodel.
* gnu/packages/cran.scm (r-profilemodel): New variable.
2020-06-16 09:33:53 +02:00
Maxim Cournoyer fb8542ed5c
gnu: emacs-yasnippet: Clean-up package definition.
An old snippet was causing the build to fail when using Emacs 27.

* gnu/packages/emacs-xyz.scm (emacs-yasnippet)[source]: Use git-file-name, and
remove obsolete snippet.
[phases]{home}: New phase.  This allows the rebindings test to pass.
{make-tests-writable, delete-rebinding-test}: Remove phases.
[description]: Re-indent.
2020-06-16 00:18:09 -04:00
Tobias Geerinckx-Rice 4df47410cf
gnu: volk: Improve description mark-up.
* gnu/packages/engineering.scm (volk)[description]: Substitute
@acronym for the less appropriate @code.
2020-06-16 05:15:47 +02:00
Tobias Geerinckx-Rice 5ed89cac64
gnu: volk: Fix typo in description.
* gnu/packages/engineering.scm (volk)[description]: Fix typo.
2020-06-16 05:15:47 +02:00
Tobias Geerinckx-Rice 40f986db30
gnu: inxi-minimal: Update to 3.1.03-1.
* gnu/packages/admin.scm (inxi-minimal): Update to 3.1.03-1.
2020-06-16 05:15:47 +02:00
Tobias Geerinckx-Rice 0f99da2b39
gnu: tup: Update to 0.7.9.
* gnu/packages/build-tools.scm (tup): Update to 0.7.9.
2020-06-16 05:15:47 +02:00
Jan (janneke) Nieuwenhuizen e07573432c
doc: Clarify 'hurd-vm' and 'childhurd' names.
Suggested by Maxim Cournoyer via IRC.

* doc/guix.texi (The Hurd in a Virtual Machine): Explicitly mention that
hurd-vm and childhurd are two names for this service.
2020-06-15 21:08:02 +02:00
Arun Isaac ec8e1c9177
gnu: glade3: Enable tests.
* gnu/packages/gnome.scm (glade3)[arguments]: Enable tests. Add custom
pre-check phase.
[native-inputs]: Add hicolor-icon-theme and xorg-server-for-tests.
2020-06-15 23:38:53 +05:30
Arun Isaac bd03e99f66
ui: Use package-description-string.
* guix/ui.scm (package->recutils): Use package-description-string instead of
package-description and P_.
2020-06-15 23:31:56 +05:30
Arun Isaac a1da0904a6
ui: Do not translate package synopsis a second time.
* guix/ui.scm (package->recutils): package-synopsis-string already returns a
translated string. Do not attempt to translate it again.
2020-06-15 23:31:56 +05:30
Arun Isaac e70a884706
ui: Cut off search early if any regexp does not match.
* guix/ui.scm (relevance): When one of the regexps does not match, cut off
early and return 0. Do not try to match the remaining regexps.
2020-06-15 23:31:56 +05:30
Mathieu Othacehe cf48f0fc4c
gnu: cuirass: Update to 0.0.1-32.3db603c.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-32.3db603c.
2020-06-15 16:29:22 +02:00
Mathieu Othacehe 53e6195607
ci: Add build-products id field and export accessors.
* guix/ci.scm (build-product?, build-product-id,
build-product-type, build-product-file-size,
build-product-path): Export them,
[id]: new field.
2020-06-15 15:34:19 +02:00
Mathieu Othacehe 9e989d9e36
ci: Add status option to "latest-builds".
* guix/ci.scm (latest-builds): Add "status" option.
2020-06-15 15:33:42 +02:00
Tobias Geerinckx-Rice c9ea4eecf4
download: Remove usa-mirror.go-parts.com mirror.
It incorrectly redirects 404s (at least) to the commercial home page.

* guix/download.scm (%mirrors): Remove usa-mirror.go-parts.com URLs.
2020-06-15 14:26:44 +02:00
Tobias Geerinckx-Rice a3370b30f7
gnu: volk: Make retained references non-native inputs.
* gnu/packages/engineering.scm (volk)[native-inputs]:
Move python-wrapper and python-mako…
[inputs]: …here.
2020-06-15 14:26:44 +02:00
Tobias Geerinckx-Rice 6e1aa1c443
gnu: volk: Update to 2.3.0.
* gnu/packages/engineering.scm (volk): Update to 2.3.0.
2020-06-15 14:26:44 +02:00
Ricardo Wurmus 8b00728144
gnu: r-limma: Update to 3.44.3.
* gnu/packages/bioinformatics.scm (r-limma): Update to 3.44.3.
2020-06-15 12:00:21 +02:00
Pierre Neidhardt d6797a566f
gnu: openmw: Update to 0.46.0.
* gnu/packages/game-development.scm (openmw): Update to 0.46.0.
2020-06-15 11:14:55 +02:00