nixpkgs/pkgs/applications/kde/skanpage.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

34 lines
586 B
Nix

{ lib
, mkDerivation
, extra-cmake-modules
, kirigami2
, ktextwidgets
, libksane
, qtquickcontrols2
, kpurpose
, kquickimageedit
}:
mkDerivation {
pname = "skanpage";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kirigami2
ktextwidgets
libksane
qtquickcontrols2
kpurpose
kquickimageedit
];
meta = with lib; {
description = "KDE utility to scan images and multi-page documents";
mainProgram = "skanpage";
homepage = "https://apps.kde.org/skanpage";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}