mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #34756 from peterhoeg/p/discover
discover: init at 5.15.3
This commit is contained in:
commit
f92191e397
4 changed files with 24 additions and 10 deletions
|
@ -102,6 +102,7 @@ let
|
|||
breeze-qt5 = callPackage ./breeze-qt5.nix {};
|
||||
breeze-grub = callPackage ./breeze-grub.nix {};
|
||||
breeze-plymouth = callPackage ./breeze-plymouth {};
|
||||
discover = callPackage ./discover.nix {};
|
||||
kactivitymanagerd = callPackage ./kactivitymanagerd.nix {};
|
||||
kde-cli-tools = callPackage ./kde-cli-tools.nix {};
|
||||
kde-gtk-config = callPackage ./kde-gtk-config { inherit gsettings-desktop-schemas; };
|
||||
|
|
20
pkgs/desktops/plasma-5/discover.nix
Normal file
20
pkgs/desktops/plasma-5/discover.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
mkDerivation,
|
||||
extra-cmake-modules, gettext, kdoctools, python,
|
||||
appstream-qt, discount, flatpak, fwupd, ostree, packagekit-qt, pcre, utillinux,
|
||||
qtquickcontrols2,
|
||||
karchive, kconfig, kcrash, kdbusaddons, kdeclarative, kio, kirigami2, kitemmodels,
|
||||
knewstuff, kwindowsystem, kxmlgui, plasma-framework
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
name = "discover";
|
||||
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python ];
|
||||
buildInputs = [
|
||||
# discount is needed for libmarkdown
|
||||
appstream-qt discount flatpak fwupd ostree packagekit-qt pcre utillinux
|
||||
qtquickcontrols2
|
||||
karchive kconfig kcrash kdbusaddons kdeclarative kio kirigami2 kitemmodels knewstuff kwindowsystem kxmlgui
|
||||
plasma-framework
|
||||
];
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
{ stdenv, appstream, qtbase, qttools }:
|
||||
|
||||
# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "appstream-qt-${version}";
|
||||
inherit (appstream) version src prePatch;
|
||||
|
@ -10,15 +12,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
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";
|
||||
};
|
||||
|
|
|
@ -21877,7 +21877,7 @@ in
|
|||
inherit (kdeFrameworks) kded kinit frameworkintegration;
|
||||
|
||||
inherit (plasma5)
|
||||
bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth
|
||||
bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth discover
|
||||
kactivitymanagerd kde-cli-tools kde-gtk-config kdeplasma-addons kgamma5
|
||||
kinfocenter kmenuedit kscreen kscreenlocker ksshaskpass ksysguard
|
||||
kwallet-pam kwayland-integration kwin kwrited milou oxygen plasma-browser-integration
|
||||
|
|
Loading…
Reference in a new issue