summary refs log tree commit diff
path: root/pkgs/development/libraries/kde-frameworks/kimageformats.nix
blob: 26a8637bafc2943ffea6641c9e329766cbb341a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  mkDerivation, lib,
  extra-cmake-modules,
  ilmbase, karchive, openexr, qtbase
}:

let inherit (lib) getDev; in

mkDerivation {
  name = "kimageformats";
  meta = { maintainers = [ lib.maintainers.ttuegel ]; };
  nativeBuildInputs = [ extra-cmake-modules ];
  buildInputs = [ karchive openexr qtbase ];
  outputs = [ "out" ]; # plugins only
  NIX_CFLAGS_COMPILE = "-I${getDev ilmbase}/include/OpenEXR";
}