3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/kde/spectacle.nix

29 lines
1.1 KiB
Nix
Raw Normal View History

2021-07-15 20:18:43 +01:00
{ mkDerivation, lib
, extra-cmake-modules, kdoctools
, ki18n, xcb-util-cursor
, kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins
, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi
, qtbase, qtx11extras, knewstuff, kwayland, qttools, kcolorpicker, kimageannotator
}:
2017-05-16 16:56:41 +01:00
mkDerivation {
2020-12-24 23:05:07 +00:00
pname = "spectacle";
2017-05-17 20:26:11 +01:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
2017-06-21 14:52:16 +01:00
buildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor
knewstuff kwayland kcolorpicker kimageannotator
2017-05-16 16:56:41 +01:00
];
postPatch = ''
2020-07-13 21:12:54 +01:00
substituteInPlace desktop/org.kde.spectacle.desktop.cmake \
--replace "Exec=@QtBinariesDir@/qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
'';
2017-08-04 09:52:01 +01:00
propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
2021-07-15 20:18:43 +01:00
meta = with lib; {
homepage = "https://apps.kde.org/spectacle/";
description = "Screenshot capture utility";
2021-07-15 20:18:43 +01:00
maintainers = with maintainers; [ ttuegel ];
broken = versionOlder qtbase.version "5.15";
};
2016-10-18 12:45:40 +01:00
}