2016-07-30 03:13:00 +01:00
|
|
|
{
|
2017-05-17 20:26:11 +01:00
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules,
|
|
|
|
cups, ki18n,
|
|
|
|
kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio,
|
2016-07-30 03:13:00 +01:00
|
|
|
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
|
|
|
qtdeclarative
|
2016-04-21 17:00:51 +01:00
|
|
|
}:
|
|
|
|
|
2017-06-02 16:49:52 +01:00
|
|
|
mkDerivation {
|
2016-04-21 17:00:51 +01:00
|
|
|
name = "print-manager";
|
2016-04-28 19:16:00 +01:00
|
|
|
meta = {
|
|
|
|
license = [ lib.licenses.gpl2 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
2017-05-17 20:26:11 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ cups ki18n ];
|
2016-04-21 17:00:51 +01:00
|
|
|
propagatedBuildInputs = [
|
2017-05-17 20:26:11 +01:00
|
|
|
kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
|
|
|
kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative
|
2016-04-21 17:00:51 +01:00
|
|
|
];
|
2017-09-25 14:40:41 +01: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
|
2019-11-24 16:14:28 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security";
|
2016-04-21 17:00:51 +01:00
|
|
|
}
|