summary refs log tree commit diff
path: root/pkgs/development/libraries/appstream/qt.nix
blob: 22f1566ad0ace670082d3762f4c771b7437e78ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, appstream, qtbase, qttools }:

# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here

stdenv.mkDerivation {
  pname = "appstream-qt";
  inherit (appstream) version src prePatch;

  buildInputs = appstream.buildInputs ++ [ appstream qtbase ];

  nativeBuildInputs = appstream.nativeBuildInputs ++ [ qttools ];

  mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];

  meta = appstream.meta // {
    description = "Software metadata handling library - Qt";
 };
}