diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-04-18 08:11:17 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-04-28 05:54:18 -0500 |
commit | c37220fcf92f590be66bfc7289e498044d429640 (patch) | |
tree | aa1274d376e11e15c0b81f41d02ade2cd51dcd75 /pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix | |
parent | bd92780b4c8b1803b570491eb40e4d4d8dbfaad5 (diff) | |
download | nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar.gz nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar.bz2 nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar.lz nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar.xz nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.tar.zst nixpkgs-c37220fcf92f590be66bfc7289e498044d429640.zip |
kwindowsystem: purify platform plugin detection
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix b/pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix new file mode 100644 index 00000000000..8a91bdbac52 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix @@ -0,0 +1,19 @@ +{ + kdeFramework, lib, copyPathsToStore, + extra-cmake-modules, + qtbase, qttools, qtx11extras +}: + +kdeFramework { + name = "kwindowsystem"; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + broken = builtins.compareVersions qtbase.version "5.6.0" < 0; + }; + nativeBuildInputs = [ extra-cmake-modules qttools ]; + propagatedBuildInputs = [ qtx11extras ]; + patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); + preConfigure = '' + NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"$out/lib/qt5/plugins\"" + ''; +} |