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

49 lines
756 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, kconfig
, kcontacts
, kcoreaddons
, ki18n
, kirigami-addons
, kirigami2
, kitemmodels
, kpublictransport
, qqc2-desktop-style
, qtquickcontrols2
}:
mkDerivation rec {
pname = "ktrip";
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
kconfig
kcontacts
kcoreaddons
ki18n
kirigami-addons
kirigami2
kitemmodels
kpublictransport
qqc2-desktop-style
qtquickcontrols2
];
meta = with lib; {
description = "Public transport trip planner";
mainProgram = "ktrip";
homepage = "https://apps.kde.org/ktrip/";
# GPL-2.0-or-later
license = licenses.gpl2Plus;
maintainers = with maintainers; [ samueldr ];
};
}