2018-02-22 02:58:35 +00:00
|
|
|
{ stdenv, appstream, qtbase, qttools }:
|
|
|
|
|
2018-05-21 07:45:06 +01:00
|
|
|
# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
|
|
|
|
|
2018-02-22 02:58:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "appstream-qt-${version}";
|
2018-08-04 21:16:15 +01:00
|
|
|
inherit (appstream) version src prePatch;
|
2018-02-22 02:58:35 +00:00
|
|
|
|
|
|
|
buildInputs = appstream.buildInputs ++ [ appstream qtbase ];
|
|
|
|
|
|
|
|
nativeBuildInputs = appstream.nativeBuildInputs ++ [ qttools ];
|
|
|
|
|
|
|
|
mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
|
|
|
|
|
|
|
|
meta = appstream.meta // {
|
|
|
|
description = "Software metadata handling library - Qt";
|
|
|
|
};
|
|
|
|
}
|