nixpkgs/pkgs/development/libraries/appstream/qt.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

19 lines
526 B
Nix

{ stdenv, appstream, qtbase, qttools }:
# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
stdenv.mkDerivation rec {
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";
};
}