Commit Graph

70 Commits

Author SHA1 Message Date
Maximilian Bosch
b7652a680f
neomutt: 20201127 -> 20210205
ChangeLog: https://github.com/neomutt/neomutt/releases/tag/20210205
2021-02-05 13:21:54 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Maximilian Bosch
64939cff96
neomutt: 20201120 -> 20201127
ChangeLog: https://github.com/neomutt/neomutt/releases/tag/20201127
2020-11-27 15:10:02 +01:00
Bart Brouns
ae6ad232ef neomutt: 20200925 -> 20201120 2020-11-20 18:34:06 +01:00
Doron Behar
36578e75af neomutt: Use w3m instead of elinks, since elinks is insecure
Ever since 5ad43894f2, elinks won't
evaluate (by default) hence it makes neomutt not evaluate as well, due
to elinks marked as insecure. This change makes neomutt generate
manual.txt out of manual.html with w3m instead of elinks.
2020-10-03 21:11:54 +03:00
Maximilian Bosch
004676ce9c
neomutt: apply two patches for regressions in the sidebar
The following patches were pushed to `master` after the release and fix
two regressions in the sidebar of NeoMutt:

* 9675367 (sidebar: prevent the divider colour bleeding out): a small
  fix for ANSI colors to not break the layout.

* 6078653 (Fix <sidebar-{next,prev}-new>): fixes invalid conditions in
  if-statements.

Considering their release cycle I figured that it is reasonable to apply
those on top of `20200925` for now.
2020-09-27 00:50:58 +02:00
Maximilian Bosch
2d94370264
neomutt: 20200821 -> 20200925
https://github.com/neomutt/neomutt/releases/tag/20200925
2020-09-25 16:54:25 +02:00
Maximilian Bosch
8f3a2d3e5c
neomutt: 20200814 -> 20200821
https://github.com/neomutt/neomutt/releases/tag/20200821
2020-08-22 22:25:31 +02:00
Maximilian Bosch
e75cdaae9c
neomutt: 20200807 -> 20200814
https://github.com/neomutt/neomutt/releases/tag/20200814
2020-08-16 15:09:32 +02:00
Maximilian Bosch
4cfbe4ad43
neomutt: 20200626 -> 20200807
ChangeLog: https://github.com/neomutt/neomutt/releases/tag/20200807
2020-08-10 18:06:40 +02:00
Maximilian Bosch
da1b17fd35
neomutt: 20200619 -> 20200626
https://github.com/neomutt/neomutt/releases/tag/20200626
2020-06-26 14:54:49 +02:00
Maximilian Bosch
499d18849f
neomutt: 20200501 -> 20200619
https://github.com/neomutt/neomutt/releases/tag/20200619
2020-06-19 19:19:08 +02:00
Doron Behar
b58227a4c0
neomutt: Remove old fixes for failing tests
Includes both rfc2047 tests workarounds and locale workarounds.
Fixes #86896. See https://github.com/neomutt/neomutt/pull/2314 .
2020-06-19 18:15:34 +02:00
Doron Behar
b8f65212ec
neomutt: make manual.txt not empty
Without elinks / w3m / lynx in the nativeBuildInputs, there are these
errors in the build:

LC_ALL=C w3m -dump -O UTF8 docs/manual.html > docs/manual.txt || \
LC_ALL=C lynx -dump -nolist -with_backspaces \
        -display_charset=us-ascii docs/manual.html > docs/manual.txt || \
LC_ALL=C elinks -dump -no-numbering -no-references \
        docs/manual.html | sed -e 's,\\001, ,g' > docs/manual.txt
/nix/store/xfbmj7sl2ikicym9x3yq7cms5qx1w39k-bash-4.4-p23/bin/bash: w3m: command not found
/nix/store/xfbmj7sl2ikicym9x3yq7cms5qx1w39k-bash-4.4-p23/bin/bash: line 1: lynx: command not found
/nix/store/xfbmj7sl2ikicym9x3yq7cms5qx1w39k-bash-4.4-p23/bin/bash: line 3: elinks: command not found
2020-06-19 18:15:34 +02:00
Doron Behar
3b9a8f5426
neomutt: Make it not reference .dev outputs. 2020-06-19 18:15:33 +02:00
Maximilian Bosch
d203d553b9
neomutt: 20200424 -> 20200501
https://github.com/neomutt/neomutt/releases/tag/20200501
2020-05-03 19:06:59 +02:00
Maximilian Bosch
ea59fe7aa6
neomutt: 20200417 -> 20200424
https://github.com/neomutt/neomutt/releases/tag/20200424
2020-04-24 22:03:30 +02:00
Maximilian Bosch
192485f8fa
neomutt: 20200320 -> 20200417
https://github.com/neomutt/neomutt/releases/tag/20200417

To fix the tests, I had to copy the recently created
`neomutt-test-files`[1] repository into the build-environment.

Also applied a patch from master[2] which ensures that the
`change-folder` macro actually switches to the specified folder.

[1] https://github.com/neomutt/neomutt-test-files
[2] 9e7537cadd
2020-04-17 19:35:20 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
78104ad2da
neomutt: 20200313 -> 20200320
https://github.com/neomutt/neomutt/releases/tag/20200320
2020-03-20 15:01:38 +01:00
Dominik Xaver Hörl
45cc3c986d neomutt: configure with zlib to enable imap compression 2020-03-14 16:48:47 +00:00
Maximilian Bosch
dda6dfed26
neomutt: 20191207 -> 20200313
https://github.com/neomutt/neomutt/releases/tag/20200313
2020-03-13 16:52:36 +01:00
Maximilian Bosch
0922ac503c
neomutt: 20191129 -> 20191207
https://github.com/neomutt/neomutt/releases/tag/20191207
2019-12-07 08:15:24 +01:00
Maximilian Bosch
ecb7f4c048
neomutt: 20191111 -> 20191129
https://github.com/neomutt/neomutt/releases/tag/20191129
2019-11-29 16:57:48 +01:00
Gabriel Ebner
e10e7e68e9 neomutt: 20191102 -> 20191111 2019-11-12 12:00:18 +01:00
Thomas Friese
689b96305a
neomutt: add autocrypt
According to Neomutt's autocrypt manual
<https://neomutt.org/guide/autocryptdoc.html>, autocrypt needs to be
enabled in the `configureFlags` and `sqlite` is a new dependency.
2019-11-06 10:38:11 +01:00
J Phani Mahesh
977daa25ad neomutt: 2019-10-25 -> 20191102 2019-11-02 08:02:28 +00:00
Maximilian Bosch
b83908f1ed
neomutt: 20180716 -> 2019-10-25
https://github.com/neomutt/neomutt/releases/tag/2019-10-25
2019-10-25 16:30:29 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Florian Klink
5ada40d687 neomutt: remove mutt wrapper
Since Oct 14, 2017 we warned users still executing `neomutt`
through the `mutt` binary, so we can assume everybody read the notice,
updated his config, and can drop the wrapper.
2019-06-23 14:21:38 +02:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Maximilian Bosch
991d4bf68c
mutt/neomutt: work around S/MIME issues with application/pgp-encrypted
The original issue can be reproduced when sending with an unpatched
`mutt` or `neomutt` an email with an attachement which as han `.asc`
extension. This will be interpreted as `application/pgp-encrypted` which
experiences special logic, in the end the attachement will contain
"Version: 1"[1][2][3]

Right now, there are the following issues in the {,neo}mutt packages:

* `mutt.override { smimeSupport = true }` fails to build since the
  Debian patch results in a 404. Debian moved their packages to
  `salsa.debian.org`.

  However we can't use a versioned URL for this as Debian only tracks
  the Mutt versions that are available in their releases. The patch
  doesn't touch Mutt's core and is therefore simple to rebase, so
  sticking to the 1.10.2 patch for now should be sufficient.

* The original issue was never fixed in NeoMutt, currently we use the
  S/MIME database from `pkgs.mime-types` which contains the issue with
  `application/pgp-encrypted` as well.

  After some discussion[4] it seems to be the best decision to use the
  `mailcap` database distributed by Fedora[5] which fixes the issue
  rather than `mime-types` v9 from 2012.

[1] https://bugs.archlinux.org/task/43319
[2] https://bugs.gentoo.org/534658
[3] https://github.com/neomutt/neomutt/blob/neomutt-20180716/sendlib.c#L490-L496
[4] https://github.com/NixOS/nixpkgs/pull/50927#issuecomment-441383260
[5] https://pagure.io/mailcap
2018-11-26 01:51:41 +01:00
R. RyanTM
2ee1499325 neomutt: 20180622 -> 20180716
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/neomutt/versions.
2018-07-18 09:50:59 -07:00
R. RyanTM
78cda56bb8 neomutt: 20180512 -> 20180622 2018-06-26 05:40:26 +00:00
R. RyanTM
6b93c2e7ff neomutt: 20180323 -> 20180512
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/neomutt/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/ww06xw1m1b0r4fy308kwa6vvj4cyy1yk-neomutt-20180512/bin/neomutt -h’ got 0 exit code
- ran ‘/nix/store/ww06xw1m1b0r4fy308kwa6vvj4cyy1yk-neomutt-20180512/bin/neomutt --help’ got 0 exit code
- ran ‘/nix/store/ww06xw1m1b0r4fy308kwa6vvj4cyy1yk-neomutt-20180512/bin/.neomutt-wrapped -h’ got 0 exit code
- ran ‘/nix/store/ww06xw1m1b0r4fy308kwa6vvj4cyy1yk-neomutt-20180512/bin/.neomutt-wrapped --help’ got 0 exit code
- found 20180512 with grep in /nix/store/ww06xw1m1b0r4fy308kwa6vvj4cyy1yk-neomutt-20180512
- directory tree listing: https://gist.github.com/8d13b2cd77148163ee7c664ce4cdba07
- du listing: https://gist.github.com/9755eddec256452bf53913477fd2bebb
2018-05-14 00:46:53 -07:00
Michael Weiss
80faa73fc0 neomutt: Fix the path to the auxiliary tools
This path changed from $out/lib/neomutt to $out/libexec/neomutt.
2018-04-06 19:37:46 +02:00
Peter Hoeg
e43e8254a1 neomutt: 20180223 -> 20180323 2018-03-26 14:41:14 +08:00
Johannes Frankenau
1b2024fb98 neomutt: fix smime_keys openssl path, closes #35654 2018-02-26 09:13:05 +01:00
Peter Hoeg
3d8a664729 neomutt: 20171215 -> 20180223 2018-02-25 09:45:53 +08:00
Peter Hoeg
8d7b069ea6 neomutt: 20171208 -> 20171215
The build system also changed to the tcl based "autosetup".
2018-02-15 23:01:06 +08:00
Peter Hoeg
9b6ef35b2c neomutt: 20171027 -> 20171208 2017-12-14 11:25:11 +08:00
Peter Hoeg
f16bd1c72d neomutt: use mime.types from dedicated mime-types derivation
The mime.types file shipped with neomutt is pretty basic so we use the one put
together by Gentoo from a dedicated mime-types derivation as it vastly improves
the handling of attachments.
2017-11-20 07:27:30 +08:00
Peter Hoeg
7ce825d6ab neomutt: put mime.types in $out/etc where it belongs 2017-11-16 12:16:05 +08:00
Peter Hoeg
dc7ea3f94f neomutt: specify path to mime.types
Neomutt will by default look for /etc/mime.types which isn't present in order to
map file extensions to mime types.

If this file isn't found, and a message has a png attached with
application/octet-stream mime type, neomutt will not know what to do with it.
2017-11-16 10:43:37 +08:00
Joerg Thalheim
b23f94ef52 neomutt: makeWrapper belongs in nativeBuildInputs 2017-11-13 17:29:05 +00:00
Florian Klink
b14c799213 neomutt: wrapProgram to add lib/neomutt to PATH
This is needed to have the auxillary tools 'pgpewrap', 'pgpring' and
'smime_keys' in PATH.

Fixes #31609.
2017-11-13 18:04:42 +01:00
Peter Hoeg
9754285f5b neomutt: 20171013 -> 20171027 2017-10-28 11:24:31 +08:00
Peter Hoeg
2ef36f2ee5 neomutt: minor cleanups
- neomutt has changed the binary name so we enable "mutt" via a wrapper script
   with a warning
 - we don't have to manually run the prepare.sh script as autoreconfHook handles
   everything for us
 - doc generation was previously trying to fetch DTDs from the net
2017-10-17 11:32:37 +08:00
Vladimír Čunát
6525c22ef1
Merge branch 'master' into staging
Hydra: ?compare=1401528
2017-10-14 10:36:13 +02:00
Florian Klink
a678696e40 neomutt: 20170912 -> 20171013 2017-10-13 19:36:05 +02:00