nixpkgs/pkgs/kde/gear/kpat/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

22 lines
386 B
Nix

{
mkKdeDerivation,
qtsvg,
_7zz,
shared-mime-info,
black-hole-solver,
freecell-solver,
libkdegames,
}:
mkKdeDerivation {
pname = "kpat";
extraNativeBuildInputs = [_7zz shared-mime-info];
extraBuildInputs = [
qtsvg
black-hole-solver
freecell-solver
];
qtWrapperArgs = ["--prefix XDG_DATA_DIRS : ${libkdegames}/share"];
meta.mainProgram = "kpat";
}