2016-11-05 18:14:12 +01:00
|
|
|
{
|
2017-05-15 19:05:35 +02:00
|
|
|
mkDerivation, lib,
|
2017-02-26 13:49:15 +01:00
|
|
|
extra-cmake-modules,
|
2017-05-22 20:49:07 +02:00
|
|
|
ilmbase, karchive, openexr, qtbase
|
2016-04-21 17:32:21 +02:00
|
|
|
}:
|
|
|
|
|
2017-05-22 20:49:07 +02:00
|
|
|
let inherit (lib) getDev; in
|
|
|
|
|
2017-05-15 19:05:35 +02:00
|
|
|
mkDerivation {
|
2016-04-21 17:32:21 +02:00
|
|
|
name = "kimageformats";
|
2016-04-28 17:54:30 +02:00
|
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 20:49:07 +02:00
|
|
|
buildInputs = [ karchive openexr qtbase ];
|
|
|
|
outputs = [ "out" ]; # plugins only
|
2018-01-16 09:52:04 +01:00
|
|
|
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
|
2016-04-21 17:32:21 +02:00
|
|
|
}
|