forked from mirrors/nixpkgs
30 lines
802 B
Nix
30 lines
802 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libheif";
|
|
version = "1.6.1";
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "strukturag";
|
|
repo = "libheif";
|
|
rev = "v${version}";
|
|
sha256 = "0l3mj11lp4974kaym3aidm4wriqzls13gz22s67l6341yhsc42n6";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|