lol
1{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "libytnef";
5 version = "2.1.2";
6
7 src = fetchFromGitHub {
8 owner = "Yeraze";
9 repo = "ytnef";
10 rev = "v${version}";
11 hash = "sha256-kQb45Da0T7wWi1IivA8Whk+ECL2nyFf7Gc0gK1HKj2c=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15
16 meta = with lib; {
17 inherit (src.meta) homepage;
18 description = "Yeraze's TNEF Stream Reader - for winmail.dat files";
19 license = licenses.gpl2Plus;
20 platforms = platforms.all;
21 maintainers = with maintainers; [ fpletz ];
22 };
23}