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>
11 lines
196 B
Nix
11 lines
196 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules, kdoctools,
|
|
pcre, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kjs";
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [ pcre qtbase ];
|
|
}
|