depot/third_party/nixpkgs/pkgs/by-name/li/libytnef/package.nix

23 lines
575 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libytnef";
version = "2.1.2";
src = fetchFromGitHub {
owner = "Yeraze";
repo = "ytnef";
rev = "v${version}";
hash = "sha256-kQb45Da0T7wWi1IivA8Whk+ECL2nyFf7Gc0gK1HKj2c=";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
inherit (src.meta) homepage;
description = "Yeraze's TNEF Stream Reader - for winmail.dat files";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}