summaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/kde-frameworks/solid/default.nix
blob: 066f9a9571b20faa566b4e30c6da02f114f3c8a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  mkDerivation,
  lib,
  stdenv,
  bison,
  cmake,
  extra-cmake-modules,
  flex,
  media-player-info,
  qtbase,
  qtdeclarative,
  qttools,
}:

mkDerivation {
  pname = "solid";
  patches = [ ./fix-search-path.patch ];
  nativeBuildInputs = [
    bison
    cmake
    extra-cmake-modules
    flex
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ media-player-info ];
  buildInputs = [
    qtdeclarative
    qttools
  ];
  propagatedBuildInputs = [ qtbase ];
  propagatedUserEnvPkgs = lib.optionals stdenv.hostPlatform.isLinux [ media-player-info ];
}