nixpkgs/pkgs/development/libraries/libheif/default.nix
Jan Tojnar e7566ebf82
libheif: 1.5.0 → 1.6.0
https://github.com/strukturag/libheif/releases/tag/v1.6.0

Fixes crashes in gimp file-heif plug-in:
https://gitlab.gnome.org/GNOME/gimp/issues/4185

Also split outputs since manpage was added.
2019-11-20 22:18:07 +01:00

30 lines
802 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
stdenv.mkDerivation rec {
pname = "libheif";
version = "1.6.0";
outputs = [ "bin" "out" "dev" "man" ];
src = fetchFromGitHub {
owner = "strukturag";
repo = "libheif";
rev = "v${version}";
sha256 = "0im9k2pqghlsppj165kh3nc26c4wx1brckmncdmpy0mcj56jjmba";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libde265 x265 libpng libjpeg ];
enableParallelBuilding = true;
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 ];
};
}