1{
2 mkKdeDerivation,
3 qtwayland,
4 qtmultimedia,
5 opencv,
6}:
7mkKdeDerivation {
8 pname = "spectacle";
9
10 extraBuildInputs = [
11 qtwayland
12 qtmultimedia
13 (opencv.override {
14 enableCuda = false; # fails to compile, disabled in case someone sets config.cudaSupport
15 enabledModules = [
16 "core"
17 "imgproc"
18 ]; # https://invent.kde.org/graphics/spectacle/-/blob/master/CMakeLists.txt?ref_type=heads#L83
19 runAccuracyTests = false; # tests will fail because of missing plugins but that's okay
20 })
21 ];
22 meta.mainProgram = "spectacle";
23}