nixpkgs/pkgs/development/libraries/kde-frameworks/kservice/default.nix

20 lines
646 B
Nix

{
mkDerivation, lib, copyPathsToStore,
bison, extra-cmake-modules, flex,
kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem,
qtbase, shared-mime-info,
}:
mkDerivation {
name = "kservice";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedNativeBuildInputs = [ bison flex ];
buildInputs = [
kcrash kdbusaddons ki18n kwindowsystem qtbase
];
propagatedBuildInputs = [ kconfig kcoreaddons ];
propagatedUserEnvPkgs = [ shared-mime-info ]; # for kbuildsycoca5
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
}