···11+{ lib
22+, mkDerivation
33+44+, cmake
55+, extra-cmake-modules
66+, pkg-config
77+88+, kconfig
99+, kdbusaddons
1010+, ki18n
1111+, kirigami2
1212+, kirigami-addons
1313+, knotifications
1414+, libwebsockets
1515+, qqc2-desktop-style
1616+, qtbase
1717+, qtkeychain
1818+, qtmultimedia
1919+, qtquickcontrols2
2020+, qttools
2121+, qtwebsockets
2222+, kitemmodels
2323+, pimcommon
2424+2525+# Workarounds for the point release being missing.
2626+, libsForQt5
2727+, fetchFromGitLab
2828+}:
2929+3030+# NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package
3131+# set for the point release, as the point release was not uploaded to
3232+# the Plasma Mobile gear repo, and the injected `mkDerivation` only can
3333+# use the src (and version) from the `srcs` set.
3434+libsForQt5.mkDerivation rec {
3535+ pname = "tokodon";
3636+3737+ version = "22.11.2";
3838+ # NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo.
3939+ src = fetchFromGitLab {
4040+ domain = "invent.kde.org";
4141+ owner = "network";
4242+ repo = pname;
4343+ rev = "v${version}";
4444+ hash = "sha256-uE9iHZDfpn1NTCeJPgsp2WBe0curdguTUbMTrkrmJ6M=";
4545+ };
4646+4747+ nativeBuildInputs = [
4848+ cmake
4949+ extra-cmake-modules
5050+ pkg-config
5151+ ];
5252+5353+ buildInputs = [
5454+ kconfig
5555+ kdbusaddons
5656+ ki18n
5757+ kirigami2
5858+ kirigami-addons
5959+ knotifications
6060+ qqc2-desktop-style
6161+ qtbase
6262+ qtkeychain
6363+ qtmultimedia
6464+ qtquickcontrols2
6565+ qttools
6666+ qtwebsockets
6767+ kitemmodels
6868+ pimcommon
6969+ ];
7070+7171+ meta = with lib; {
7272+ description = "A Mastodon client for Plasma and Plasma Mobile";
7373+ homepage = "https://invent.kde.org/network/tokodon";
7474+ license = licenses.gpl3Plus;
7575+ platforms = platforms.unix;
7676+ maintainers = with maintainers; [ matthiasbeyer ];
7777+ };
7878+}
+1
pkgs/top-level/aliases.nix
···15131513 timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05
15141514 tkcvs = tkrev; # Added 2022-03-07
15151515 togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30
15161516+ tokodon = plasma5Packages.tokodon;
15161517 tomboy = throw "tomboy is not actively developed anymore and was removed"; # Added 2022-01-27
15171518 tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16
15181519 tomcat8 = throw "tomcat8 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16