kdeFrameworks: fixup inputs and outputs

- Reduce environment pollution with a separate $bin output containing programs,
  plugins, and shared data. Libraries remain in $out and are not installed into
  the environment.
- Only propagate build inputs as required.
This commit is contained in:
Thomas Tuegel
2017-06-18 08:44:45 -05:00
parent 087f20e8c6
commit faf0d3e91d
106 changed files with 533 additions and 338 deletions
@@ -1,13 +1,13 @@
{
mkDerivation, fetchurl, lib, copyPathsToStore,
extra-cmake-modules, kdoctools,
karchive, kconfig, kcoreaddons, ki18n
karchive, kconfig, kcoreaddons, ki18n, qtbase,
}:
mkDerivation {
name = "kpackage";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ karchive kconfig kcoreaddons ki18n ];
buildInputs = [ karchive kconfig kcoreaddons ki18n qtbase ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
}