ajantv2-nix/aja-ntv2/default.nix

20 lines
307 B
Nix

{
stdenv,
lib,
cmake,
aja-src,
buildApps ? true,
}:
stdenv.mkDerivation {
name = "ajantv2-dev";
src = aja-src;
nativeBuildInputs = [cmake];
cmakeFlags =
[
"-DAJA_BUILD_DRIVER=OFF"
"-DAJA_BUILD_QT_BASED=OFF"
]
++ lib.optional (!buildApps) "-DAJA_BUILD_APPS=off";
}