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
225 B
Nix
11 lines
225 B
Nix
{ mkDerivation
|
|
, extra-cmake-modules
|
|
, aspell, qtbase, qttools
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "sonnet";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ aspell qttools ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
}
|