nixpkgs/pkgs/kde/frameworks/knewstuff/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

18 lines
385 B
Nix

{
mkKdeDerivation,
qtdeclarative,
qttools,
kcmutils,
}:
mkKdeDerivation {
pname = "knewstuff";
# Late resolve knsrcdir so other things install to their own prefix
# FIXME(later): upstream
patches = [./delay-resolving-knsrcdir.patch];
extraBuildInputs = [qtdeclarative qttools];
extraPropagatedBuildInputs = [kcmutils];
meta.mainProgram = "knewstuff-dialog6";
}