gnu: sendgmail: Don't limit domain name of sender.
There are three open pull requests adding this functionality:
- https://github.com/google/gmail-oauth2-tools/pull/17 (October 2019)
- https://github.com/google/gmail-oauth2-tools/pull/26 (May 2020)
- https://github.com/google/gmail-oauth2-tools/pull/37 (May 2021)
(The patch here is identical to #26, so I just closed this one.)
Meanwhile, the most recent commit to the upstream repository was in
May 2019: that was the commit that first added `sendgmail`.
This commit adjusts Guix's `sendgmail`, following Postel's advice,
to make the command "liberal in its receiving behavior" (RFC 760):
it always accepts email addresses with any domain name, as in #26,
and it accepts (and ignores) the `-gsuite` flag used in #17.
* gnu/packages/patches/sendgmail-remove-domain-restriction.patch:
New file. This is the patch from #26.
* gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch:
New file, based on #17.
* gnu/local.mk (dist_patch_DATA): Add the new patches.
* gnu/packages/mail.scm (sendgmail)[source]: Apply the new patches.
Increment the "revision" argument to `git-version` from 0 to 1.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: sendgmail: Rename package to match command.
Suggested by Ludo’ in <https://issues.guix.gnu.org/50420#3>.
* gnu/packages/golang.scm
(go-github-com-google-gmail-oauth2-tools-go-sendgmail): Move to ...
* gnu/packages/mail.scm (sendgmail): ... this variable.
Change `propagated-inputs` to `inputs`.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add smlnj.
* gnu/packages/sml.scm (smlnj): New variable.
Co-authored-by: Brett Gilio <brettg@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
environment: Suggestion code gracefully handles empty "/bin" directories.
* guix/scripts/environment.scm (suggest-command-name): Handle the case
where 'scandir' returns #f.
shell: Fix '--file' description in '--help' output.
Reported by pinoaffe on #guix.
* guix/scripts/shell.scm (show-help): Fix '--file' description.
gnu: ocaml-ppx-expect: Update to 0.14.2.
* gnu/packages/ocaml.scm (ocaml-ppx-expect): Update to 0.14.2.
gnu: ocaml-migrate-parsetree: Update to 2.3.0.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Update to 2.3.0.
gnu: ocamlformat: Update to 0.20.0.
* gnu/packages/ocaml.scm (ocamlformat): Update to 0.20.0.
gnu: Add ocaml-either.
* gnu/packages/ocaml.scm (ocaml-either): New variable.
gnu: ocaml-fix: Update to 20211125.
gnu: Add ccwl.
* gnu/packages/bioinformatics.scm (ccwl): New variable.
gnu: notmuch: Update to 0.34.2.
* gnu/packages/mail.scm (notmuch): Update to 0.34.2.
gnu: emacs-which-key: Update to 3.5.4.
* gnu/packages/emacs-xyz.scm (emacs-which-key): Update to 3.5.4.
gnu: emacs-ebib: Update to 2.34.
* gnu/packages/emacs-xyz.scm (emacs-ebib): Update to 2.34.
gnu: gajim: Fix typo.
* gnu/packages/messaging.scm (gajim)[arguments]: Add missing brackets.
All typos are my own.
gnu: gajim: Restore 'disable-failing-tests phase.
Gajim consistently builds on my machines & bayfront, whilst
raghavgururajan reports the exact same derivation consistently failing
with the commented error. Odd.
* gnu/packages/messaging.scm (gajim)[arguments]: Restore the old
'disable-failing-tests phase.
gnu: gpxsee: Update to 10.0.
* gnu/packages/gps.scm (gpxsee): Update to 10.0.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
gnu: nnn: Update to 4.4.
* gnu/packages/admin.scm (nnn): Update to 4.4.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
gnu: emacs-parsebib: Update to 3.1.
* gnu/packages/emacs-xyz.scm (emacs-parsebib): Update to 3.1.