forked from mirrors/nixpkgs
appstream-qt: init at 0.11.8
This commit is contained in:
parent
57ce02b574
commit
fbde9ea744
25
pkgs/development/libraries/appstream/qt.nix
Normal file
25
pkgs/development/libraries/appstream/qt.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, appstream, qtbase, qttools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "appstream-qt-${version}";
|
||||
inherit (appstream) version src patches prePatch;
|
||||
|
||||
buildInputs = appstream.buildInputs ++ [ appstream qtbase ];
|
||||
|
||||
nativeBuildInputs = appstream.nativeBuildInputs ++ [ qttools ];
|
||||
|
||||
mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/{bin,etc,include/appstream,lib/pkgconfig,lib/libappstream.so*,share}
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
patchelf --add-needed ${appstream}/lib/libappstream.so.4 \
|
||||
$out/lib/libAppStreamQt.so
|
||||
'';
|
||||
|
||||
meta = appstream.meta // {
|
||||
description = "Software metadata handling library - Qt";
|
||||
};
|
||||
}
|
|
@ -5755,7 +5755,7 @@ with pkgs;
|
|||
compcert = callPackage ../development/compilers/compcert { };
|
||||
|
||||
cpp-gsl = callPackage ../development/libraries/cpp-gsl { };
|
||||
|
||||
|
||||
# Users installing via `nix-env` will likely be using the REPL,
|
||||
# which has a hard dependency on Z3, so make sure it is available.
|
||||
cryptol = haskellPackages.cryptol.overrideDerivation (oldAttrs: {
|
||||
|
@ -8185,6 +8185,8 @@ with pkgs;
|
|||
|
||||
appstream-glib = callPackage ../development/libraries/appstream-glib { };
|
||||
|
||||
appstream-qt = libsForQt5.callPackage ../development/libraries/appstream/qt.nix { };
|
||||
|
||||
apr = callPackage ../development/libraries/apr { };
|
||||
|
||||
aprutil = callPackage ../development/libraries/apr-util {
|
||||
|
|
Loading…
Reference in a new issue