2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2016-07-01 08:35:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-24 15:09:04 +00:00
|
|
|
version = "1.4.18";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tnef";
|
2016-07-01 08:35:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-05-11 07:06:54 +00:00
|
|
|
owner = "verdammelt";
|
|
|
|
repo = "tnef";
|
|
|
|
rev = version;
|
2019-11-24 15:09:04 +00:00
|
|
|
sha256 = "104g48mcm00bgiyzas2vf86331w7bnw7h3bc11ib4lp7rz6zqfck";
|
2016-07-01 08:35:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-07-01 08:35:55 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/verdammelt/tnef";
|
2016-07-01 08:35:55 +00:00
|
|
|
license = licenses.gpl2;
|
2017-05-11 07:21:16 +00:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2016-07-01 08:35:55 +00:00
|
|
|
platforms = platforms.all;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "tnef";
|
2016-07-01 08:35:55 +00:00
|
|
|
};
|
|
|
|
}
|