mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
17 lines
399 B
Nix
17 lines
399 B
Nix
{
|
|
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
|
|
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
|
|
}
|