2018-07-03 15:00:41 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pruneLibtoolFiles, libde265, x265, libpng, libjpeg }:
|
2018-07-01 09:05:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3.2";
|
|
|
|
name = "libheif-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "strukturag";
|
|
|
|
repo = "libheif";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0hk8mzig2kp5f94j4jwqxzjrm7ffk16ffvxl92rf0afsh6vgnz7w";
|
|
|
|
};
|
|
|
|
|
2018-07-03 15:00:41 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig pruneLibtoolFiles ];
|
2018-07-01 09:05:44 +00:00
|
|
|
buildInputs = [ libde265 x265 libpng libjpeg ];
|
2018-07-03 15:00:41 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2018-07-01 09:05:44 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.libheif.org/";
|
|
|
|
description = "ISO/IEC 23008-12:2017 HEIF image file format decoder and encoder";
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|