nixpkgs/pkgs/kde/gear/spectacle/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
587 B
Nix
Raw Normal View History

{
mkKdeDerivation,
qtwayland,
qtmultimedia,
opencv,
}:
mkKdeDerivation {
pname = "spectacle";
2024-05-25 21:46:37 +00:00
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";
}