mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
2afe06c18f
Fixes build of vapoursynth: https://hydra.nixos.org/build/76818435
28 lines
807 B
Nix
28 lines
807 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pruneLibtoolFiles, libde265, x265, libpng, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.2";
|
|
name = "libheif-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "strukturag";
|
|
repo = "libheif";
|
|
rev = "v${version}";
|
|
sha256 = "0hk8mzig2kp5f94j4jwqxzjrm7ffk16ffvxl92rf0afsh6vgnz7w";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig pruneLibtoolFiles ];
|
|
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 ];
|
|
};
|
|
|
|
}
|