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>
13 lines
352 B
Nix
13 lines
352 B
Nix
{
|
|
mkDerivation,
|
|
bison, extra-cmake-modules, flex,
|
|
media-player-info, qtbase, qtdeclarative, qttools
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "solid";
|
|
nativeBuildInputs = [ bison extra-cmake-modules flex media-player-info ];
|
|
buildInputs = [ qtdeclarative qttools ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
propagatedUserEnvPkgs = [ media-player-info ];
|
|
}
|