mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
27 lines
495 B
Nix
27 lines
495 B
Nix
{ plasmaPackage
|
|
, extra-cmake-modules
|
|
, glib
|
|
, gtk2
|
|
, gtk3
|
|
, karchive
|
|
, kcmutils
|
|
, kconfigwidgets
|
|
, ki18n
|
|
, kiconthemes
|
|
, kio
|
|
, knewstuff
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kde-gtk-config";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [
|
|
glib gtk2 gtk3 karchive kcmutils kconfigwidgets ki18n kiconthemes
|
|
kio knewstuff
|
|
];
|
|
cmakeFlags = [
|
|
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
|
|
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include"
|
|
];
|
|
}
|