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