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

62 lines
970 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, pkg-config
, kconfig
, kdbusaddons
, ki18n
, kirigami2
, kirigami-addons
, knotifications
, qqc2-desktop-style
, qtbase
, qtkeychain
, qtmultimedia
, qtquickcontrols2
, qttools
, qtwebsockets
, kitemmodels
, pimcommon
, mpv
}:
mkDerivation {
pname = "tokodon";
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
];
buildInputs = [
kconfig
kdbusaddons
ki18n
kirigami2
kirigami-addons
knotifications
qqc2-desktop-style
qtbase
qtkeychain
qtmultimedia
qtquickcontrols2
qttools
qtwebsockets
kitemmodels
pimcommon
mpv
];
meta = with lib; {
description = "A Mastodon client for Plasma and Plasma Mobile";
mainProgram = "tokodon";
homepage = "https://invent.kde.org/network/tokodon";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ matthiasbeyer ];
};
}