nixpkgs/pkgs/applications/kde/build-support/application.nix
Thomas Tuegel 8be4bd7416
kdeApplications: Move out of desktops/kde-5
- There is no such thing as KDE 5
2017-02-27 11:49:30 -06:00

24 lines
463 B
Nix

{ kdeDerivation, lib, debug, srcs }:
args:
let
inherit (args) name;
sname = args.sname or name;
inherit (srcs."${sname}") src version;
in
kdeDerivation (args // {
name = "${name}-${version}";
inherit src;
cmakeFlags =
(args.cmakeFlags or [])
++ [ "-DBUILD_TESTING=OFF" ]
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
meta = {
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";
} // (args.meta or {});
})