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

30 lines
802 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
2018-07-01 10:05:44 +01:00
stdenv.mkDerivation rec {
pname = "libheif";
2020-09-05 05:41:33 +01:00
version = "1.8.0";
outputs = [ "bin" "out" "dev" "man" ];
2018-07-01 10:05:44 +01:00
src = fetchFromGitHub {
owner = "strukturag";
repo = "libheif";
rev = "v${version}";
2020-09-05 05:41:33 +01:00
sha256 = "15az44qdqp2vncdfv1bzdl30977kvqxcb2bhx4x3q6vcxnm1xfgg";
2018-07-01 10:05:44 +01:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2018-07-01 10:05:44 +01:00
buildInputs = [ libde265 x265 libpng libjpeg ];
enableParallelBuilding = true;
2018-07-01 10:05:44 +01: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 ];
};
}