2018-12-09 23:55:10 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
|
2018-07-01 11:05:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libheif";
|
2020-02-06 10:41:21 +01:00
|
|
|
version = "1.6.2";
|
2019-11-20 21:59:53 +01:00
|
|
|
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
2018-07-01 11:05:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "strukturag";
|
|
|
|
repo = "libheif";
|
|
|
|
rev = "v${version}";
|
2020-02-06 10:41:21 +01:00
|
|
|
sha256 = "0ngbzban585hsgs6fb6fkhccc91kxn1n59qvqjp8bw41l24i3nr2";
|
2018-07-01 11:05:44 +02:00
|
|
|
};
|
|
|
|
|
2018-12-09 23:55:10 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-07-01 11:05:44 +02:00
|
|
|
buildInputs = [ libde265 x265 libpng libjpeg ];
|
2018-07-03 17:00:41 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2018-07-01 11:05:44 +02: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|