mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 05:23:16 +00:00
16 lines
475 B
Nix
16 lines
475 B
Nix
{
|
|
mkDerivation, lib, stdenv,
|
|
bison, extra-cmake-modules, flex,
|
|
media-player-info, qtbase, qtdeclarative, qttools
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "solid";
|
|
patches = [ ./fix-search-path.patch ];
|
|
nativeBuildInputs = [ bison extra-cmake-modules flex ]
|
|
++ lib.optionals stdenv.isLinux [ media-player-info ];
|
|
buildInputs = [ qtdeclarative qttools ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
propagatedUserEnvPkgs = lib.optionals stdenv.isLinux [ media-player-info ];
|
|
}
|