Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
547 B
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" ];
|
|
}
|