2023-10-02 22:56:38 +01:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
2023-10-13 18:02:39 +01:00
|
|
|
cmake,
|
2023-10-17 08:47:19 +01:00
|
|
|
ntv2-src,
|
2023-10-02 22:56:38 +01:00
|
|
|
buildApps ? true,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
2023-10-17 09:04:53 +01:00
|
|
|
name = "ntv2";
|
2023-10-17 08:47:19 +01:00
|
|
|
src = ntv2-src;
|
2023-10-13 20:56:15 +01:00
|
|
|
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";
|
|
|
|
}
|