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>
12 lines
278 B
Nix
12 lines
278 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules, gettext, python3,
|
|
qtbase, qtdeclarative, qtscript,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "ki18n";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
propagatedNativeBuildInputs = [ gettext python3 ];
|
|
buildInputs = [ qtdeclarative qtscript ];
|
|
}
|