Loading nixos/tests/installed-tests/appstream-qt.nix +1 −1 Original line number Diff line number Diff line { pkgs, makeInstalledTest, ... }: makeInstalledTest { tested = pkgs.libsForQt5.appstream-qt; tested = pkgs.kdePackages.appstream-qt; testConfig = { appstream.enable = true; Loading pkgs/development/libraries/appstream/default.nix +6 −11 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ buildPackages, replaceVars, fetchFromGitHub, fetchpatch, meson, mesonEmulatorHook, appstream, Loading @@ -21,7 +20,7 @@ xapian, libxml2, libxmlb, libyaml, libfyaml, gobject-introspection, itstool, gperf, Loading @@ -31,6 +30,7 @@ gdk-pixbuf, pango, librsvg, bash-completion, systemd, nixosTests, testers, Loading @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "appstream"; version = "1.0.4"; version = "1.1.2"; outputs = [ "out" Loading @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "ximion"; repo = "appstream"; rev = "v${finalAttrs.version}"; sha256 = "sha256-UnSJcXH0yWK/dPKgbOx9x3iJjKcKNYFkD2Qs5c3FtM8="; sha256 = "sha256-tvdWWdL6PthffAZZnNZ3+17/eJdZFx8xFkqm7IvyPWE="; }; patches = [ Loading @@ -65,12 +65,6 @@ stdenv.mkDerivation (finalAttrs: { # Allow installing installed tests to a separate output. ./installed-tests-path.patch (fetchpatch { name = "static.patch"; url = "https://github.com/ximion/appstream/commit/90675d8853188f65897d2453346cb0acd531b58f.patch"; hash = "sha256-d3h5h7B/MP3Sun5YwYCqMHcw4PMMwg1YS/S9vsMzkQ4="; }) ]; strictDeps = true; Loading Loading @@ -110,12 +104,13 @@ stdenv.mkDerivation (finalAttrs: { xapian libxml2 libxmlb libyaml libfyaml curl cairo gdk-pixbuf pango librsvg bash-completion ] ++ lib.optionals withSystemd [ systemd Loading pkgs/development/libraries/appstream/qt.nix +2 −6 Original line number Diff line number Diff line Loading @@ -9,9 +9,6 @@ # TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here let qtSuffix = lib.optionalString (lib.versions.major qtbase.version == "5") "5"; in stdenv.mkDerivation { pname = "appstream-qt"; inherit (appstream) version src; Loading @@ -31,7 +28,6 @@ stdenv.mkDerivation { mesonFlags = appstream.mesonFlags ++ [ (lib.mesonBool "qt" true) (lib.mesonOption "qt-versions" (lib.versions.major qtbase.version)) ]; patches = appstream.patches; Loading @@ -41,9 +37,9 @@ stdenv.mkDerivation { # AppStreamQt tries to be relocatable, in hacky cmake ways that generally fail # horribly on NixOS. Just hardcode the paths. postFixup = '' sed -i "$dev/lib/cmake/AppStreamQt${qtSuffix}/AppStreamQt${qtSuffix}Config.cmake" \ sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \ -e "/INTERFACE_INCLUDE_DIRECTORIES/ s@\''${PACKAGE_PREFIX_DIR}@$dev@" sed -i "$dev/lib/cmake/AppStreamQt${qtSuffix}/AppStreamQt${qtSuffix}Config.cmake" \ sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \ -e "/IMPORTED_LOCATION/ s@\''${PACKAGE_PREFIX_DIR}@$out@" ''; Loading pkgs/top-level/qt5-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,6 @@ makeScopeWithSplicing' { accounts-qt = callPackage ../development/libraries/accounts-qt { }; appstream-qt = callPackage ../development/libraries/appstream/qt.nix { }; dxflib = callPackage ../development/libraries/dxflib { }; drumstick = callPackage ../development/libraries/drumstick { }; Loading Loading
nixos/tests/installed-tests/appstream-qt.nix +1 −1 Original line number Diff line number Diff line { pkgs, makeInstalledTest, ... }: makeInstalledTest { tested = pkgs.libsForQt5.appstream-qt; tested = pkgs.kdePackages.appstream-qt; testConfig = { appstream.enable = true; Loading
pkgs/development/libraries/appstream/default.nix +6 −11 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ buildPackages, replaceVars, fetchFromGitHub, fetchpatch, meson, mesonEmulatorHook, appstream, Loading @@ -21,7 +20,7 @@ xapian, libxml2, libxmlb, libyaml, libfyaml, gobject-introspection, itstool, gperf, Loading @@ -31,6 +30,7 @@ gdk-pixbuf, pango, librsvg, bash-completion, systemd, nixosTests, testers, Loading @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "appstream"; version = "1.0.4"; version = "1.1.2"; outputs = [ "out" Loading @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "ximion"; repo = "appstream"; rev = "v${finalAttrs.version}"; sha256 = "sha256-UnSJcXH0yWK/dPKgbOx9x3iJjKcKNYFkD2Qs5c3FtM8="; sha256 = "sha256-tvdWWdL6PthffAZZnNZ3+17/eJdZFx8xFkqm7IvyPWE="; }; patches = [ Loading @@ -65,12 +65,6 @@ stdenv.mkDerivation (finalAttrs: { # Allow installing installed tests to a separate output. ./installed-tests-path.patch (fetchpatch { name = "static.patch"; url = "https://github.com/ximion/appstream/commit/90675d8853188f65897d2453346cb0acd531b58f.patch"; hash = "sha256-d3h5h7B/MP3Sun5YwYCqMHcw4PMMwg1YS/S9vsMzkQ4="; }) ]; strictDeps = true; Loading Loading @@ -110,12 +104,13 @@ stdenv.mkDerivation (finalAttrs: { xapian libxml2 libxmlb libyaml libfyaml curl cairo gdk-pixbuf pango librsvg bash-completion ] ++ lib.optionals withSystemd [ systemd Loading
pkgs/development/libraries/appstream/qt.nix +2 −6 Original line number Diff line number Diff line Loading @@ -9,9 +9,6 @@ # TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here let qtSuffix = lib.optionalString (lib.versions.major qtbase.version == "5") "5"; in stdenv.mkDerivation { pname = "appstream-qt"; inherit (appstream) version src; Loading @@ -31,7 +28,6 @@ stdenv.mkDerivation { mesonFlags = appstream.mesonFlags ++ [ (lib.mesonBool "qt" true) (lib.mesonOption "qt-versions" (lib.versions.major qtbase.version)) ]; patches = appstream.patches; Loading @@ -41,9 +37,9 @@ stdenv.mkDerivation { # AppStreamQt tries to be relocatable, in hacky cmake ways that generally fail # horribly on NixOS. Just hardcode the paths. postFixup = '' sed -i "$dev/lib/cmake/AppStreamQt${qtSuffix}/AppStreamQt${qtSuffix}Config.cmake" \ sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \ -e "/INTERFACE_INCLUDE_DIRECTORIES/ s@\''${PACKAGE_PREFIX_DIR}@$dev@" sed -i "$dev/lib/cmake/AppStreamQt${qtSuffix}/AppStreamQt${qtSuffix}Config.cmake" \ sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \ -e "/IMPORTED_LOCATION/ s@\''${PACKAGE_PREFIX_DIR}@$out@" ''; Loading
pkgs/top-level/qt5-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,6 @@ makeScopeWithSplicing' { accounts-qt = callPackage ../development/libraries/accounts-qt { }; appstream-qt = callPackage ../development/libraries/appstream/qt.nix { }; dxflib = callPackage ../development/libraries/dxflib { }; drumstick = callPackage ../development/libraries/drumstick { }; Loading