2016-07-15 10:10:54 -07:00
|
|
|
{
|
|
|
|
kdeFramework, lib, copyPathsToStore,
|
2017-02-26 04:49:15 -08:00
|
|
|
extra-cmake-modules, kdoctools,
|
2017-04-23 08:27:31 -07:00
|
|
|
kconfig, kcrash, ki18n, kio, kparts, kservice, kwindowsystem, plasma-framework
|
2016-04-21 08:32:21 -07:00
|
|
|
}:
|
|
|
|
|
2017-04-23 08:27:31 -07:00
|
|
|
let
|
|
|
|
inherit (lib) getLib;
|
|
|
|
in
|
2016-04-21 08:32:21 -07:00
|
|
|
kdeFramework {
|
|
|
|
name = "kinit";
|
2016-04-28 08:55:29 -07:00
|
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
2017-02-26 04:49:15 -08:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-04-28 08:55:29 -07:00
|
|
|
propagatedBuildInputs = [
|
2016-07-15 10:10:54 -07:00
|
|
|
kconfig kcrash ki18n kio kservice kwindowsystem
|
2016-04-28 08:55:29 -07:00
|
|
|
];
|
2016-04-21 08:32:21 -07:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
2017-04-23 08:27:31 -07:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
''-DNIXPKGS_KF5_KIOCORE="${getLib kio}/lib/libKF5KIOCore.so.5"''
|
|
|
|
''-DNIXPKGS_KF5_PARTS="${getLib kparts}/lib/libKF5Parts.so.5"''
|
|
|
|
''-DNIXPKGS_KF5_PLASMA="${getLib plasma-framework}/lib/libKF5Plasma.so.5"''
|
|
|
|
];
|
2016-04-21 08:32:21 -07:00
|
|
|
}
|