nixpkgs/pkgs/development/libraries/kde-frameworks/kservice/default.nix
V 79921889a0 treewide: convert patch series files to Nix expressions
Nix expressions provide all the features that Quilt series files have,
so using those instead is pointless. Also, lib.readPathsFromFile
(the function used to read series files) has the following warning:

> NOTE: This function is not performant and should be avoided.

This also removes some orphaned series files, and unused references to
copyPathsToStore (which were probably missed in previous commits
where calls to lib.readPathsFromFile were removed)
2020-09-03 19:15:05 +02:00

22 lines
654 B
Nix

{
mkDerivation, lib,
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 = [
./qdiriterator-follow-symlinks.patch
./no-canonicalize-path.patch
];
}