depot/third_party/nixpkgs/pkgs/development/libraries/appstream/qt.nix

19 lines
522 B
Nix
Raw Normal View History

{ 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";
};
}