https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
14 lines
349 B
Nix
14 lines
349 B
Nix
{ mkDerivation, extra-cmake-modules
|
|
, kconfig, kcoreaddons, kio, kparts, qtwebkit
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kdewebkit";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ kconfig kcoreaddons kio kparts ];
|
|
propagatedBuildInputs = [ qtwebkit ];
|
|
outputs = [ "out" "dev" ];
|
|
cmakeFlags = [
|
|
"-DBUILD_DESIGNERPLUGIN=OFF"
|
|
];
|
|
}
|