ajantv2-nix/aja-ntv2/default.nix

20 lines
307 B
Nix
Raw Permalink Normal View History

2023-10-02 22:56:38 +01:00
{
stdenv,
lib,
cmake,
2023-10-13 20:56:15 +01:00
aja-src,
2023-10-02 22:56:38 +01:00
buildApps ? true,
}:
stdenv.mkDerivation {
name = "ajantv2-dev";
2023-10-13 20:56:15 +01:00
src = aja-src;
nativeBuildInputs = [cmake];
2023-10-02 22:56:38 +01:00
cmakeFlags =
[
"-DAJA_BUILD_DRIVER=OFF"
"-DAJA_BUILD_QT_BASED=OFF"
]
++ lib.optional (!buildApps) "-DAJA_BUILD_APPS=off";
}