depot/third_party/nixpkgs/pkgs/kde/plasma/discover/default.nix

29 lines
547 B
Nix

{
mkKdeDerivation,
qtwebview,
pkg-config,
discount,
flatpak,
fwupd,
}:
mkKdeDerivation {
pname = "discover";
patches = [
# remove forced QML dependency check
# FIXME: fix the check in ECM instead
./qml-deps.patch
];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
qtwebview
discount
flatpak
fwupd
];
# The PackageKit backend doesn't work for us and causes Discover
# to freak out when loading. Disable it to not confuse users.
excludeDependencies = [ "packagekit-qt" ];
}