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
265 B
Nix
12 lines
265 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
karchive, kcoreaddons, kservice, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kemoticons";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ karchive kcoreaddons ];
|
|
propagatedBuildInputs = [ kservice qtbase ];
|
|
}
|