nixpkgs/pkgs/development/libraries/libheif/default.nix

28 lines
760 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
2018-07-01 11:05:44 +02:00
stdenv.mkDerivation rec {
pname = "libheif";
2019-09-24 05:11:49 +02:00
version = "1.5.1";
2018-07-01 11:05:44 +02:00
src = fetchFromGitHub {
owner = "strukturag";
repo = "libheif";
rev = "v${version}";
2019-09-24 05:11:49 +02:00
sha256 = "0x6207hiy15k2696476qx9jcbzs90fq8cfv4jw6hi14w4wzq89kr";
2018-07-01 11:05:44 +02:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2018-07-01 11:05:44 +02:00
buildInputs = [ libde265 x265 libpng libjpeg ];
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 ];
};
}