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>
10 lines
220 B
Nix
10 lines
220 B
Nix
{ mkDerivation
|
|
, extra-cmake-modules, qttools, qtbase
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kplotting";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
propagatedBuildInputs = [ qtbase qttools ];
|
|
outputs = [ "out" "dev" ];
|
|
}
|