2016-07-30 04:13:00 +02:00
|
|
|
{
|
2017-05-17 21:26:11 +02:00
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules,
|
|
|
|
cups, ki18n,
|
|
|
|
kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio,
|
2016-07-30 04:13:00 +02:00
|
|
|
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
|
|
|
qtdeclarative
|
2016-04-21 18:00:51 +02:00
|
|
|
}:
|
|
|
|
|
2017-06-02 17:49:52 +02:00
|
|
|
mkDerivation {
|
2016-04-21 18:00:51 +02:00
|
|
|
name = "print-manager";
|
2016-04-28 20:16:00 +02:00
|
|
|
meta = {
|
|
|
|
license = [ lib.licenses.gpl2 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ cups ki18n ];
|
2016-04-21 18:00:51 +02:00
|
|
|
propagatedBuildInputs = [
|
2017-05-17 21:26:11 +02:00
|
|
|
kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
|
|
|
kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative
|
2016-04-21 18:00:51 +02:00
|
|
|
];
|
2017-09-25 15:40:41 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2019-11-14 01:46:00 +01:00
|
|
|
# Fix build with cups deprecations etc.
|
|
|
|
# See: https://github.com/NixOS/nixpkgs/issues/73334
|
2019-11-24 17:14:28 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security";
|
2016-04-21 18:00:51 +02:00
|
|
|
}
|