9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
32 lines
903 B
Nix
32 lines
903 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libde265, x265, libpng,
|
|
libjpeg, libaom }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libheif";
|
|
version = "1.9.1";
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "strukturag";
|
|
repo = "libheif";
|
|
rev = "v${version}";
|
|
sha256 = "0hjs1i076jmy4ryj8y2zs293wx53kzg38y8i42cbcsqydvsdp6hz";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ libde265 x265 libpng libjpeg libaom ];
|
|
# TODO: enable dav1d and rav1e codecs when libheif can find them via pkg-config
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|