mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
52bf1163fa
In preparation to eliminate the lib output for the unwrapped clang, use `lib.getLib` to access the `lib` output.
47 lines
714 B
Nix
47 lines
714 B
Nix
{
|
|
lib,
|
|
mkKdeDerivation,
|
|
qtwebengine,
|
|
qttools,
|
|
kdevelop-pg-qt,
|
|
pkg-config,
|
|
shared-mime-info,
|
|
apr,
|
|
aprutil,
|
|
boost,
|
|
libastyle,
|
|
libclang,
|
|
libllvm,
|
|
subversion,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "kdevelop";
|
|
|
|
extraNativeBuildInputs = [
|
|
kdevelop-pg-qt
|
|
pkg-config
|
|
shared-mime-info
|
|
];
|
|
|
|
extraPropagatedBuildInputs = [
|
|
qtwebengine
|
|
];
|
|
|
|
extraBuildInputs = [
|
|
qttools
|
|
apr
|
|
aprutil
|
|
boost
|
|
libastyle
|
|
libclang
|
|
libllvm
|
|
subversion
|
|
];
|
|
|
|
extraCmakeFlags = [
|
|
"-DCLANG_BUILTIN_DIR=${lib.getLib libclang}/lib/clang/${lib.versions.major libclang.version}/include"
|
|
"-DAPR_CONFIG_PATH=${apr.dev}/bin"
|
|
"-DAPU_CONFIG_PATH=${aprutil.dev}/bin"
|
|
];
|
|
}
|