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

50 lines
804 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, kconfig
, kholidays
, ki18n
, kirigami-addons
, kirigami2
, knotifications
, kquickcharts
, kweathercore
, plasma-framework
, qtcharts
, qtquickcontrols2
}:
mkDerivation rec {
pname = "kweather";
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
kconfig
kholidays
ki18n
kirigami-addons
kirigami2
knotifications
kquickcharts
kweathercore
plasma-framework
qtcharts
qtquickcontrols2
];
meta = with lib; {
description = "Weather application for Plasma Mobile";
mainProgram = "kweather";
homepage = "https://invent.kde.org/plasma-mobile/kweather";
license = with licenses; [ gpl2Plus cc-by-40 ];
maintainers = with maintainers; [ samueldr ];
};
}