mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
21 lines
587 B
Nix
21 lines
587 B
Nix
{
|
|
mkKdeDerivation,
|
|
qtwayland,
|
|
qtmultimedia,
|
|
opencv,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "spectacle";
|
|
|
|
extraBuildInputs = [
|
|
qtwayland
|
|
qtmultimedia
|
|
(opencv.override {
|
|
enableCuda = false; # fails to compile, disabled in case someone sets config.cudaSupport
|
|
enabledModules = [ "core" "imgproc" ]; # https://invent.kde.org/graphics/spectacle/-/blob/master/CMakeLists.txt?ref_type=heads#L83
|
|
runAccuracyTests = false; # tests will fail because of missing plugins but that's okay
|
|
})
|
|
];
|
|
meta.mainProgram = "spectacle";
|
|
}
|