Merge pull request #170466 from matthiasbeyer/add-tokodon

tokodon: init at 22.11.2

authored by

Jonas Heinrich and committed by
GitHub
95338455 f28c957a

+80
+1
pkgs/applications/plasma-mobile/default.nix
··· 79 plasma-settings = callPackage ./plasma-settings.nix {}; 80 plasmatube = callPackage ./plasmatube {}; 81 spacebar = callPackage ./spacebar.nix { inherit srcs; }; 82 }; 83 84 in lib.makeScope libsForQt5.newScope packages
··· 79 plasma-settings = callPackage ./plasma-settings.nix {}; 80 plasmatube = callPackage ./plasmatube {}; 81 spacebar = callPackage ./spacebar.nix { inherit srcs; }; 82 + tokodon = callPackage ./tokodon.nix {}; 83 }; 84 85 in lib.makeScope libsForQt5.newScope packages
+78
pkgs/applications/plasma-mobile/tokodon.nix
···
··· 1 + { lib 2 + , mkDerivation 3 + 4 + , cmake 5 + , extra-cmake-modules 6 + , pkg-config 7 + 8 + , kconfig 9 + , kdbusaddons 10 + , ki18n 11 + , kirigami2 12 + , kirigami-addons 13 + , knotifications 14 + , libwebsockets 15 + , qqc2-desktop-style 16 + , qtbase 17 + , qtkeychain 18 + , qtmultimedia 19 + , qtquickcontrols2 20 + , qttools 21 + , qtwebsockets 22 + , kitemmodels 23 + , pimcommon 24 + 25 + # Workarounds for the point release being missing. 26 + , libsForQt5 27 + , fetchFromGitLab 28 + }: 29 + 30 + # NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package 31 + # set for the point release, as the point release was not uploaded to 32 + # the Plasma Mobile gear repo, and the injected `mkDerivation` only can 33 + # use the src (and version) from the `srcs` set. 34 + libsForQt5.mkDerivation rec { 35 + pname = "tokodon"; 36 + 37 + version = "22.11.2"; 38 + # NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo. 39 + src = fetchFromGitLab { 40 + domain = "invent.kde.org"; 41 + owner = "network"; 42 + repo = pname; 43 + rev = "v${version}"; 44 + hash = "sha256-uE9iHZDfpn1NTCeJPgsp2WBe0curdguTUbMTrkrmJ6M="; 45 + }; 46 + 47 + nativeBuildInputs = [ 48 + cmake 49 + extra-cmake-modules 50 + pkg-config 51 + ]; 52 + 53 + buildInputs = [ 54 + kconfig 55 + kdbusaddons 56 + ki18n 57 + kirigami2 58 + kirigami-addons 59 + knotifications 60 + qqc2-desktop-style 61 + qtbase 62 + qtkeychain 63 + qtmultimedia 64 + qtquickcontrols2 65 + qttools 66 + qtwebsockets 67 + kitemmodels 68 + pimcommon 69 + ]; 70 + 71 + meta = with lib; { 72 + description = "A Mastodon client for Plasma and Plasma Mobile"; 73 + homepage = "https://invent.kde.org/network/tokodon"; 74 + license = licenses.gpl3Plus; 75 + platforms = platforms.unix; 76 + maintainers = with maintainers; [ matthiasbeyer ]; 77 + }; 78 + }
+1
pkgs/top-level/aliases.nix
··· 1513 timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05 1514 tkcvs = tkrev; # Added 2022-03-07 1515 togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30 1516 tomboy = throw "tomboy is not actively developed anymore and was removed"; # Added 2022-01-27 1517 tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16 1518 tomcat8 = throw "tomcat8 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16
··· 1513 timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05 1514 tkcvs = tkrev; # Added 2022-03-07 1515 togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30 1516 + tokodon = plasma5Packages.tokodon; 1517 tomboy = throw "tomboy is not actively developed anymore and was removed"; # Added 2022-01-27 1518 tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16 1519 tomcat8 = throw "tomcat8 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16