Commit graph

70022 commits

Author SHA1 Message Date
Ludovic Courtès cde3a69a37
git: 'reference-available?' handles short commit IDs.
Reported by Simon Tournier on #guix.

Until now 'reference-available?' would always return #f when passed a
short commit ID.

* guix/git.scm (reference-available?): Call 'object-lookup-prefix' when
COMMIT is shorter than 40 characters.
2020-12-04 23:45:09 +01:00
Ludovic Courtès 611ae310f4
bash completion: Complete file names after '-f' and '-l'.
* etc/completion/bash/guix (_guix_is_dash_f, _guix_is_dash_l): New
functions.
(_guix_complete): Complete file names after 'guix package -f', 'guix
build -f', and 'guix environment -l'.
2020-12-04 23:45:08 +01:00
Nicolas Goaziou c2352335ca
gnu: rust-form-urlencoded-1: Do not skip build.
* gnu/packages/crates-io.scm (rust-form-urlencoded-1)[arguments]: Do not skip
build.
2020-12-04 18:19:59 +01:00
Nicolas Goaziou 39e8bc2ab8
etc: snippets: Fix name extraction.
* etc/snippets/text-mode/guix-commit-message-add-package: Fix name
extraction. This is a follow-up to 988a49c78e.
2020-12-04 18:19:39 +01:00
Mathieu Othacehe cae3e92f78
gnu: guix: Update to 1.2.0-4.4435999.
* gnu/packages/package-management.scm (guix): Update to 1.2.0-4.4435999.
2020-12-04 17:58:53 +01:00
Nicolas Goaziou 988a49c78e
etc: snippets: Fix name extraction.
* etc/snippets/text-mode/guix-commit-message-update-package: Since git commit
mode is not derived from any Lisp mode, so-called sexp or symbols do not
include the period character.  As a consequence, names including versions are
not properly extracted. Also use more idiomatic (goto-char (point-min))
instead of (beginning-of-buffer).
2020-12-04 17:09:38 +01:00
Ludovic Courtès 443599999a
doc: Mention Guile-Semver dependency.
This is a followup to 269c1db41b.

* doc/guix.texi (Requirements): Mention Guile-Semver.
2020-12-04 16:59:26 +01:00
Ludovic Courtès e3065ec117
import: crate: Skip tests when Guile-Semver is missing.
* guix/import/crate.scm: Add comment for the 'module-autoload!' calls.
* tests/crate.scm (have-guile-semver?): New variable.
("crate->guix-package", "cargo-recursive-import")
("cargo-recursive-import-hoors-existing-packages"): Skip when
HAVE-GUILE-SEMVER? is false.
2020-12-04 16:59:26 +01:00
Nicolas Goaziou 576c47f141
gnu: rust-proc-macro-crate-0.1: Do not skip build.
* gnu/packages/crates-io.scm (rust-proc-macro-crate-0.1)[arguments]: Do not
skip build.
2020-12-04 16:56:57 +01:00
Nicolas Goaziou 8d7c413963
gnu: rust-quote-1: Update to 1.0.7.
* gnu/packages/crates-io.scm (rust-quote-1): Update to 1.0.7.
2020-12-04 16:56:46 +01:00
Nicolas Goaziou abb0d8335a
gnu: rust-proc-macro-error-1: Do not skip build.
* gnu/packages/crates-io.scm (rust-proc-macro-error-1)[arguments]: Do not skip
build. Skip tests, tho. Add rust-serde-derive, rust-toml and rust-trybuild to
development inputs. Fix some versions in Cargo.toml.
2020-12-04 16:52:19 +01:00
Nicolas Goaziou 2209965844
gnu: rust-system-deps-1: Do not skip build.
* gnu/packages/crates-io.scm (rust-system-deps-1): Do not skip build.
[arguments]: Disable tests. Add rust-itertools as a development input.  Add
a phase to fix build.
2020-12-04 16:42:46 +01:00
Nicolas Goaziou 3184c10463
gnu: rust-strum-0.18: Do not skip build.
* gnu/packages/crates-io.scm (rust-strum-0.18): Do not skip build.
2020-12-04 16:34:49 +01:00
Nicolas Goaziou 582a15e58a
gnu: rust-strum-macros-0.18: Do not skip build.
* gnu/packages/crates-io.scm (rust-strum-macros-0.18): Do not skip build.
2020-12-04 16:33:04 +01:00
Nicolas Goaziou 1fb21c4fa9
gnu: rust-proc-macro-error-attr-1: Do not skip build.
* gnu/packages/crates-io.scm (rust-proc-macro-error-attr-1): Do not skip
build.
2020-12-04 16:27:09 +01:00
Nicolas Goaziou 530000b07c
gnu: rust-gtk-rs-lgpl-docs-0: Update to 0.1.18.
* gnu/packages/crates-gtk.scm (rust-gtk-rs-lgpl-docs-0): Update to 0.1.18.
2020-12-04 15:31:42 +01:00
Nicolas Goaziou 58b5e1ad7c
gnu: rust-syn-1: Update to 1.0.53.
* gnu/packages/crates-io.scm (rust-syn-1): Update to 1.0.53.  Fix indentation.
[description]: Make it a full sentence.
2020-12-04 15:09:33 +01:00
Nicolas Goaziou e9eac58a58
gnu: Add rust-system-deps-1.
* gnu/packages/crates-io.scm (rust-system-deps-1): New variable.
2020-12-04 15:06:50 +01:00
Nicolas Goaziou 0962bb501e
gnu: rust-rustdoc-stripper-0.1: Update to 0.1.16.
* gnu/packages/crates-io.scm (rust-rustdoc-stripper-0.1): Update to
0.1.16. Fix indentation.
2020-12-04 14:58:47 +01:00
Nicolas Goaziou 9d012ddfdd
gnu: rust-x11-2: Update to 2.18.2.
* gnu/packages/crates-graphics.scm (rust-x11-2): Update to 2.18.2.
[home-page]: Drop ".git" suffix.
[description]: Make it a full sentence.
[license]: Update license to expat.
2020-12-04 14:55:47 +01:00
Nicolas Goaziou 0146a62b82
gnu: rust-anyhow-1.0: Update to 1.0.34.
* gnu/packages/crates-io.scm (rust-anyhow-1.0): Update to 1.0.34.
2020-12-04 14:53:26 +01:00
Nicolas Goaziou 28756005c0
gnu: Add rust-strum-0.18.
* gnu/packages/crates-io.scm (rust-strum-0.18): New variable.
2020-12-04 14:50:47 +01:00
Nicolas Goaziou fafbb6d57e
gnu: Add rust-strum-macros-0.18.
* gnu/packages/crates-io.scm (rust-strum-macros-0.18): New variable.
2020-12-04 14:50:46 +01:00
Mathieu Othacehe 79fd9f4026
scripts: substitute: Fix discover option.
The discover option can be unset or set to "yes/no". Handle both cases.

* guix/scripts/substitute.scm (%local-substitute-urls): Fix discover option.
2020-12-04 14:45:26 +01:00
Nicolas Goaziou a59aaad6dd
gnu: Add rust-proc-macro-crate-0.1.
* gnu/packages/crates-io.scm (rust-proc-macro-crate-0.1): New variable.
2020-12-04 14:40:01 +01:00
Nicolas Goaziou a67118ef27
gnu: Add rust-proc-macro-error-1.
* gnu/packages/crates-io.scm (rust-proc-macro-error-1): New variable.
(rust-proc-macro-error-0.4): inherit from variable above.
2020-12-04 14:32:53 +01:00
Nicolas Goaziou d31540bd5f
gnu: Add rust-proc-macro-error-attr-1.
* gnu/packages/crates-io.scm (rust-proc-macro-error-attr-1): New variable.
(rust-proc-macro-error-attr-0.4): inherit from variable above.
2020-12-04 14:32:52 +01:00
Nicolas Goaziou 393d1249f8
gnu: rust-thiserror-1: Update to 1.0.22.
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.22.
2020-12-04 14:21:27 +01:00
Nicolas Goaziou 069eec9195
gnu: rust-thiserror-impl-1.0: Update to 1.0.22.
* gnu/packages/crates-io.scm (rust-thiserror-impl-1.0): Update to 1.0.22.
2020-12-04 14:20:49 +01:00
Paul Garlick a67b82475d
tests: pack-relocatable: Ensure commands can run in the current namespace.
* tests/guix-pack-relocatable (run_without_store): Use subshell to run
commands in the current namespace.  This avoids shell syntax and parsing
errors.
2020-12-04 13:12:08 +00:00
Nicolas Goaziou 133414ad89
gnu: Add rust-linkify-0.4.
* gnu/packages/crates-io.scm (rust-linkify-0.4): New variable.
2020-12-04 14:09:44 +01:00
Mathieu Othacehe 83de7ee662
image: Fix ISO image production.
This is a follow-up of 41f27bf870.

* gnu/system/image.scm (operating-system-for-image): Force "volatile-root?" to
true when producing ISO images.
2020-12-04 14:06:49 +01:00
Nicolas Goaziou 2973c74e53
gnu: rust-hex-0.4: Update to 0.4.2.
* gnu/packages/crates-io.scm (rust-hex-0.4): Update to 0.4.2.  Fix
indentation.
2020-12-04 14:04:15 +01:00
Nicolas Goaziou aa51460fca
gnu: Add rust-open-1.
* gnu/packages/crates-io.scm (rust-open-1): New variable.
2020-12-04 13:59:21 +01:00
Ricardo Wurmus d378d0c229
gnu: mumi: Update to 0.0.1-3.8c82c8f.
* gnu/packages/mail.scm (mumi): Update to 0.0.1-3.8c82c8f.
2020-12-04 13:16:06 +01:00
Ricardo Wurmus 2bbe6b300e
import/cran: Do not attempt to generate definitions for failed imports.
* guix/scripts/import/cran.scm (guix-import-cran): Remove failed imports from
list of packages to define.
2020-12-04 12:28:53 +01:00
Ricardo Wurmus a689c85af4
import/cran: Fix calls to CRAN->GUIX-PACKAGE.
* guix/import/cran.scm (cran->guix-package, latest-bioconductor-release):
Invoke CRAN->GUIX-PACKAGE with #:REPO keyword argument.
2020-12-04 12:27:29 +01:00
Ricardo Wurmus a6805ad0b8
gnu: mumi: Update to 0.0.1-3.6fd49e9.
* gnu/packages/mail.scm (mumi): Update to 0.0.1-3.6fd49e9.
2020-12-04 07:07:23 +01:00
Maxim Cournoyer 2e9b7a207d
gnu: emacs-yasnippet-snippets: Resolve void function error.
Attempting to use the python-mode snippets shipped with this package would
result in a '(void-function yasnippet-snippets--fixed-indent)' error being
raised (failing the initialization of other packages such as Elpy).  The
following change fixes this by not only installing the snippets but also the
accompanying Elisp library that allows automatic discovery of the snippets.

* gnu/packages/emacs-xyz.scm (emacs-yasnippet-snippets)[build-system]: Switch
to emacs-build-system.
[arguments]: Remove the #:module and #:builder arguments.  Add the #:include
argument.
[description]: Adjust to reflect that it is no longer necessary to manually
add the snippets to the yas-snippet-dirs variable.
2020-12-03 22:33:52 -05:00
Leo Famulari 6cf7b5e2ad
gnu: python-pygit2: Update to 1.4.0.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.4.0.
2020-12-03 18:58:24 -05:00
Holger Peters 68fa8fb0cb
gnu: libgit2: Update to 1.1.0
* gnu/packages/version-control.scm (libgit2): Update to 1.1.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-03 18:58:21 -05:00
Danny Milosavljevic 00fb3976b3
gnu: Add novena-eeprom.
* gnu/packages/admin.scm (novena-eeprom): New variable.
2020-12-04 00:04:49 +01:00
Nicolas Goaziou 4496e038d8
gnu: geany: Update to 1.37.1.
* gnu/packages/text-editors.scm (geany): Update to 1.37.1.
2020-12-03 23:25:40 +01:00
Nicolas Goaziou 88c6edb846
gnu: scintilla: Update to 4.4.6.
* gnu/packages/text-editors.scm (scintilla): Update to 4.4.6.
2020-12-03 23:20:37 +01:00
Robert Karszniewicz 4f7698ba53
gnu: utox: Update home-page and description.
* gnu/packages/messaging.scm (utox): Update home-page and description.
[home-page]: Change to GitHub URL.
[description]: Fix uTox naming style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-03 23:18:30 +01:00
Robert Karszniewicz f5ba25ddff
gnu: utox: Update to 0.18.0.
Fixes <http://issues.guix.gnu.org/43750>.

* gnu/packages/messaging.scm (utox): Update to 0.18.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-03 23:18:30 +01:00
Simon Josefsson 1d4a2668e3
doc: Give references and examples for services-to-restart.
* doc/guix.texi (Unattended Upgrades): Give references and examples
for services-to-restart.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-03 23:18:30 +01:00
Tanguy Le Carrour d18a4375f3
gnu: poetry: Fix a problem with a dependency.
* gnu/packages/python-xyz.scm (poetry)[arguments]: Relax version constraints
for python-packaging.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-12-03 22:39:57 +01:00
Marius Bakke 19f1307a59
gnu: uBlock Origin: Update to 1.31.2.
* gnu/packages/browser-extensions.scm (uassets): Update to a7e476412.
(ublock-origin): Update to 1.31.2.
2020-12-03 21:56:52 +01:00
Marius Bakke 7177411c34
gnu: gnutls-dane: Inherit from newer GnuTLS.
Fixes <https://bugs.gnu.org/44914>.

* gnu/packages/tls.scm (gnutls/dane): Inherit from GNUTLS/FIXED instead of
GNUTLS.
2020-12-03 21:56:52 +01:00