Commit Graph

42 Commits

Author SHA1 Message Date
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
Jan Tojnar
757c43fd99
neomutt: Rely on XML_CATALOG_FILES variable 2017-10-07 23:39:15 +02:00
Joerg Thalheim
a2444a2831
neomutt: fix missing libidn 2017-09-22 13:04:28 +01:00
Peter Hoeg
addfb83852 neomutt: 20170907 -> 20170912 2017-09-14 14:43:07 +08:00
Peter Hoeg
b21778f43e neomutt: 20170714 -> 20170907 2017-09-09 09:32:09 +08:00
Johannes Frankenau
81736497a4 neomutt: 20170609 -> 20170714 2017-07-15 16:16:22 +02:00
Johannes Frankenau
25d47046be neomutt: 20170602 -> 20170609 2017-06-29 10:24:57 +02:00
Peter Hoeg
7eadf66244 neomutt: 20170428 -> 20170602 2017-06-02 21:41:27 +08:00
Peter Hoeg
7e9ca80490 neomutt: 2017-03-06 -> 2017-04-28 2017-05-07 10:40:49 +08:00
Bart Brouns
42c2bac8c0 neomutt: 20170128 -> 20170306 2017-03-11 16:26:37 +01:00
Franz Pletz
0adf664210
neomutt: 20161126 -> 20170128 2017-01-30 01:16:18 +01:00
Jörg Thalheim
1cc599307f
neomutt: 20161104 -> 20161126 2016-12-30 04:04:24 +01:00
Erik Rybakken
897a1ba8ff neomutt: 20160910 -> 20161104 (#20221) 2016-11-07 06:56:15 +01:00
Christian Lask
2d524a37f8 Remove myself as maintainer. 2016-11-03 11:54:54 +01:00
Erik Rybakken
a65e1c560c neomutt: 20160827 -> 20160910 (#18485) 2016-09-13 07:29:57 +02:00
Erik Rybakken
5212eb3882 neomutt: 20160723 -> 20160827 2016-08-27 10:37:53 +02:00
Christian L
f51169366b neomutt: 20160611 -> 20160723 (#17268)
For information about what has changes, please refer to
http://www.neomutt.org/2016/07/23/release.
2016-07-27 18:55:48 +02:00
Christian Lask
39812a3531 neomutt: 20160530 -> 20160611 2016-07-01 10:01:33 +02:00
Rahul Gopinath
65b3ddec31 neomutt: 20160502 -> 20160530
Adds keywords, compress, nntp to patches.
2016-06-10 13:55:21 -07:00
Christian Lask
5ff90d1518 neomutt: 20160416 -> 20160502 2016-06-03 12:22:42 +02:00
Christian Lask
3053080335 neomutt: init at 20160416
With various tweaks by @cstrahan.

closes #14747
2016-04-15 23:52:29 -04:00