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