20 lines
332 B
Nix
20 lines
332 B
Nix
{
|
|
stdenv,
|
|
callPackage,
|
|
lib,
|
|
pkgs,
|
|
buildApps ? true,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "ajantv2-dev";
|
|
src = callPackage ./src.nix {};
|
|
nativeBuildInputs = [pkgs.cmake];
|
|
|
|
cmakeFlags =
|
|
[
|
|
"-DAJA_BUILD_DRIVER=OFF"
|
|
"-DAJA_BUILD_QT_BASED=OFF"
|
|
]
|
|
++ lib.optional (!buildApps) "-DAJA_BUILD_APPS=off";
|
|
}
|