2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2016-07-01 09:35:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-24 15:09:04 +00:00
|
|
|
version = "1.4.18";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tnef";
|
2016-07-01 09:35:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-05-11 08:06:54 +01:00
|
|
|
owner = "verdammelt";
|
|
|
|
repo = "tnef";
|
|
|
|
rev = version;
|
2019-11-24 15:09:04 +00:00
|
|
|
sha256 = "104g48mcm00bgiyzas2vf86331w7bnw7h3bc11ib4lp7rz6zqfck";
|
2016-07-01 09:35:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-07-01 09:35:55 +01:00
|
|
|
description = "Unpacks MIME attachments of type application/ms-tnef";
|
|
|
|
longDescription = ''
|
|
|
|
TNEF is a program for unpacking MIME attachments of type "application/ms-tnef". This is a Microsoft only attachment.
|
|
|
|
|
|
|
|
Due to the proliferation of Microsoft Outlook and Exchange mail servers, more and more mail is encapsulated into this format.
|
|
|
|
|
|
|
|
The TNEF program allows one to unpack the attachments which were encapsulated into the TNEF attachment. Thus alleviating the need to use Microsoft Outlook to view the attachment.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/verdammelt/tnef";
|
2016-07-01 09:35:55 +01:00
|
|
|
license = licenses.gpl2;
|
2017-05-11 08:21:16 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2016-07-01 09:35:55 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|