diff options
author | K900 <me@0upti.me> | 2023-03-18 01:39:35 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-04-20 11:53:36 +0300 |
commit | 9f5fbf001faab4f57118064d8bca27c12c623a9d (patch) | |
tree | 83f4a4594fe4ede798c01401a9ab04f9e00c2b83 /pkgs/applications/plasma-mobile | |
parent | 590436c1ca3aac4ab6afa388d22779add6d0a5cb (diff) | |
download | nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar.gz nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar.bz2 nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar.lz nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar.xz nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.tar.zst nixlib-9f5fbf001faab4f57118064d8bca27c12c623a9d.zip |
plasma-mobile: 23.1 -> 23.04.0, (partially) absorb into kde/gear
Diffstat (limited to 'pkgs/applications/plasma-mobile')
18 files changed, 0 insertions, 946 deletions
diff --git a/pkgs/applications/plasma-mobile/alligator.nix b/pkgs/applications/plasma-mobile/alligator.nix deleted file mode 100644 index 4470141af296..000000000000 --- a/pkgs/applications/plasma-mobile/alligator.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kconfig -, kcoreaddons -, ki18n -, kirigami-addons -, kirigami2 -, qtquickcontrols2 -, syndication -}: - -mkDerivation rec { - pname = "alligator"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kconfig - kcoreaddons - ki18n - kirigami-addons - kirigami2 - qtquickcontrols2 - syndication - ]; - - meta = with lib; { - description = "RSS reader made with kirigami"; - homepage = "https://invent.kde.org/plasma-mobile/alligator"; - # https://invent.kde.org/plasma-mobile/alligator/-/commit/db30f159c4700244532b17a260deb95551045b7a - # * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL - license = with licenses; [ gpl2Only gpl3Only ]; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/angelfish.nix b/pkgs/applications/plasma-mobile/angelfish.nix deleted file mode 100644 index 7a7e48d736d0..000000000000 --- a/pkgs/applications/plasma-mobile/angelfish.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ lib -, mkDerivation -, cmake -, corrosion -, extra-cmake-modules -, gcc12 -, kconfig -, kcoreaddons -, kdbusaddons -, ki18n -, kirigami-addons -, kirigami2 -, knotifications -, kpurpose -, kwindowsystem -, qtfeedback -, qtquickcontrols2 -, qtwebengine -, rustPlatform -, srcs - -# These must be updated in tandem with package updates. -, cargoShaForVersion ? "23.01.0" -, cargoSha256 ? "sha256-dIXA875HsG56baHrTWw9L560n4s0wRv6Ag/2oj1x0gk=" -}: - -# Guard against incomplete updates. -# Values are provided as callPackage inputs to enable easier overrides through overlays. -if cargoShaForVersion != srcs.angelfish.version -then builtins.throw '' - angelfish package update is incomplete. - Hash for cargo dependencies is declared for version ${cargoShaForVersion}, but we're building ${srcs.angelfish.version}. - Update the cargoSha256 and cargoShaForVersion for angelfish. -'' else - -mkDerivation rec { - pname = "angelfish"; - - cargoDeps = rustPlatform.fetchCargoTarball { - src = srcs.angelfish.src; - name = "${pname}-${srcs.angelfish.version}"; - sha256 = cargoSha256; - }; - - nativeBuildInputs = [ - cmake - corrosion - extra-cmake-modules - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 - ] ++ (with rustPlatform; [ - cargoSetupHook - rust.cargo - rust.rustc - ]); - - buildInputs = [ - kconfig - kcoreaddons - kdbusaddons - ki18n - kirigami-addons - kirigami2 - knotifications - kpurpose - kwindowsystem - qtfeedback - qtquickcontrols2 - qtwebengine - ]; - - meta = with lib; { - description = "Web browser for Plasma Mobile"; - homepage = "https://invent.kde.org/plasma-mobile/angelfish"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ dotlambda ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/audiotube.nix b/pkgs/applications/plasma-mobile/audiotube.nix deleted file mode 100644 index 14bfc6d18917..000000000000 --- a/pkgs/applications/plasma-mobile/audiotube.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, mkDerivation - -, extra-cmake-modules -, gcc12 -, wrapGAppsHook - -, gst_all_1 -, kcoreaddons -, kcrash -, ki18n -, kirigami2 -, qtimageformats -, qtmultimedia -, qtquickcontrols2 -, python3Packages -}: - -mkDerivation rec { - pname = "audiotube"; - - nativeBuildInputs = [ - extra-cmake-modules - wrapGAppsHook - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 - python3Packages.wrapPython - python3Packages.pybind11 - ]; - - buildInputs = [ - kcoreaddons - kcrash - ki18n - kirigami2 - qtimageformats - qtmultimedia - qtquickcontrols2 - ] ++ (with gst_all_1; [ - gst-plugins-bad - gst-plugins-base - gst-plugins-good - gstreamer - ]) ++ pythonPath; - - pythonPath = with python3Packages; [ - yt-dlp - ytmusicapi - ]; - - preFixup = '' - buildPythonPath "$pythonPath" - qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH") - qtWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - dontWrapGApps = true; - - meta = with lib; { - description = "Client for YouTube Music"; - homepage = "https://invent.kde.org/plasma-mobile/audiotube"; - # https://invent.kde.org/plasma-mobile/audiotube/-/tree/c503d0607a3386112beaa9cf990ab85fe33ef115/LICENSES - license = with licenses; [ bsd2 cc0 gpl2Only gpl3Only ]; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/calindori.nix b/pkgs/applications/plasma-mobile/calindori.nix deleted file mode 100644 index bb10fa7bb10c..000000000000 --- a/pkgs/applications/plasma-mobile/calindori.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kcalendarcore -, kconfig -, kcoreaddons -, kdbusaddons -, ki18n -, kirigami2 -, knotifications -, kpeople -, kservice -, qtquickcontrols2 -}: - -mkDerivation rec { - pname = "calindori"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kcalendarcore - kconfig - kcoreaddons - kdbusaddons - ki18n - kirigami2 - knotifications - kpeople - kservice - qtquickcontrols2 - ]; - - meta = with lib; { - description = "Calendar for Plasma Mobile"; - homepage = "https://invent.kde.org/plasma-mobile/calindori"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/default.nix b/pkgs/applications/plasma-mobile/default.nix index 255b3828f768..97076070ae60 100644 --- a/pkgs/applications/plasma-mobile/default.nix +++ b/pkgs/applications/plasma-mobile/default.nix @@ -57,26 +57,10 @@ let inherit mkDerivation; }; in { - alligator = callPackage ./alligator.nix {}; - angelfish = callPackage ./angelfish.nix { inherit srcs; }; - audiotube = callPackage ./audiotube.nix {}; - calindori = callPackage ./calindori.nix {}; - kalk = callPackage ./kalk.nix {}; - kasts = callPackage ./kasts.nix {}; - kclock = callPackage ./kclock.nix {}; - keysmith = callPackage ./keysmith.nix {}; - koko = callPackage ./koko.nix {}; - krecorder = callPackage ./krecorder.nix {}; - ktrip = callPackage ./ktrip.nix {}; - kweather = callPackage ./kweather.nix {}; - neochat = callPackage ./neochat.nix { inherit srcs; }; plasma-dialer = callPackage ./plasma-dialer.nix {}; plasma-phonebook = callPackage ./plasma-phonebook.nix {}; plasma-settings = callPackage ./plasma-settings.nix {}; - plasmatube = callPackage ./plasmatube {}; - qmlkonsole = callPackage ./qmlkonsole.nix {}; spacebar = callPackage ./spacebar.nix {}; - tokodon = callPackage ./tokodon.nix {}; }; in lib.makeScope libsForQt5.newScope packages diff --git a/pkgs/applications/plasma-mobile/kalk.nix b/pkgs/applications/plasma-mobile/kalk.nix deleted file mode 100644 index 8d63991fb080..000000000000 --- a/pkgs/applications/plasma-mobile/kalk.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules -, bison -, flex - -, gmp -, mpfr - -, kconfig -, kcoreaddons -, ki18n -, kirigami2 -, kunitconversion -, qtfeedback -, qtquickcontrols2 -}: - -mkDerivation rec { - pname = "kalk"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - bison - flex - ]; - - buildInputs = [ - gmp - mpfr - - kconfig - kcoreaddons - ki18n - kirigami2 - kunitconversion - qtfeedback - qtquickcontrols2 - ]; - - meta = with lib; { - description = "Calculator built with kirigami"; - homepage = "https://invent.kde.org/plasma-mobile/kalk"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/kasts.nix b/pkgs/applications/plasma-mobile/kasts.nix deleted file mode 100644 index 59b455398203..000000000000 --- a/pkgs/applications/plasma-mobile/kasts.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules -, wrapGAppsHook - -, gst_all_1 -, kconfig -, kcoreaddons -, ki18n -, kirigami-addons -, kirigami2 -, networkmanager-qt -, qtkeychain -, qtmultimedia -, qtquickcontrols2 -, syndication -, taglib -, threadweaver -}: - -let - inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad; -in -mkDerivation rec { - pname = "kasts"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - wrapGAppsHook - ]; - - buildInputs = [ - gst-plugins-bad - gst-plugins-base - gst-plugins-good - gstreamer - - kconfig - kcoreaddons - ki18n - kirigami-addons - kirigami2 - networkmanager-qt - qtkeychain - qtmultimedia - qtquickcontrols2 - syndication - taglib - threadweaver - ]; - - preFixup = '' - qtWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - dontWrapGApps = true; - - meta = with lib; { - description = "Mobile podcast application"; - homepage = "https://apps.kde.org/kasts/"; - # https://invent.kde.org/plasma-mobile/kasts/-/tree/master/LICENSES - license = with licenses; [ bsd2 cc-by-sa-40 cc0 gpl2Only gpl2Plus gpl3Only gpl3Plus lgpl3Plus ]; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/kclock.nix b/pkgs/applications/plasma-mobile/kclock.nix deleted file mode 100644 index 6212fa8b0400..000000000000 --- a/pkgs/applications/plasma-mobile/kclock.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kconfig -, kcoreaddons -, kdbusaddons -, ki18n -, kirigami-addons -, kirigami2 -, knotifications -, plasma-framework -, qtmultimedia -, qtquickcontrols2 -}: - -mkDerivation rec { - pname = "kclock"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kconfig - kcoreaddons - kdbusaddons - ki18n - kirigami-addons - kirigami2 - knotifications - plasma-framework - qtmultimedia - qtquickcontrols2 - ]; - - meta = with lib; { - description = "Clock app for plasma mobile"; - homepage = "https://invent.kde.org/plasma-mobile/kclock"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/keysmith.nix b/pkgs/applications/plasma-mobile/keysmith.nix deleted file mode 100644 index eaca7f68e24b..000000000000 --- a/pkgs/applications/plasma-mobile/keysmith.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kdbusaddons -, ki18n -, kirigami2 -, kwindowsystem -, libsodium -, qtquickcontrols2 -}: - -mkDerivation rec { - pname = "keysmith"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kdbusaddons - ki18n - kirigami2 - kwindowsystem - libsodium - qtquickcontrols2 - ]; - - meta = with lib; { - description = "OTP client for Plasma Mobile and Desktop"; - license = licenses.gpl3; - homepage = "https://github.com/KDE/keysmith"; - maintainers = with maintainers; [ samueldr shamilton ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/applications/plasma-mobile/koko.nix b/pkgs/applications/plasma-mobile/koko.nix deleted file mode 100644 index 3543a7284bff..000000000000 --- a/pkgs/applications/plasma-mobile/koko.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ lib -, mkDerivation - -, fetchurl -, cmake -, extra-cmake-modules - -, exiv2 -, kconfig -, kcoreaddons -, kdeclarative -, kfilemetadata -, kguiaddons -, ki18n -, kio -, kirigami2 -, knotifications -, kpurpose -, kquickimageedit -, qtgraphicaleffects -, qtlocation -, qtquickcontrols2 -}: - -let - # URLs snapshotted through - # https://web.archive.org/save/$url - # Update when stale enough I guess? - admin1 = fetchurl { - url = "https://web.archive.org/web/20210714035424if_/http://download.geonames.org/export/dump/admin1CodesASCII.txt"; - sha256 = "0r783yzajs26hvccdy4jv2v06xfgadx2g90fz3yn7lx8flz4nhwm"; - }; - admin2 = fetchurl { - url = "https://web.archive.org/web/20210714035427if_/http://download.geonames.org/export/dump/admin2Codes.txt"; - sha256 = "1n5nzp3xblhr93rb1sadi5vfbw29slv5lc6cxq21h3x3cg0mwqh3"; - }; - cities1000 = fetchurl { - url = "https://web.archive.org/web/20210714035406if_/http://download.geonames.org/export/dump/cities1000.zip"; - sha256 = "0cwbfff8gzci5zrahh6d53b9b3bfv1cbwlv0k6076531i1c7md9p"; - }; -in -mkDerivation rec { - pname = "koko"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - exiv2 - kconfig - kcoreaddons - kdeclarative - kfilemetadata - kguiaddons - ki18n - kio - kirigami2 - knotifications - kpurpose - kquickimageedit - qtgraphicaleffects - qtlocation - qtquickcontrols2 - ]; - - prePatch = '' - ln -s ${admin1} src/admin1CodesASCII.txt - ln -s ${admin2} src/admin2Codes.txt - ln -s ${cities1000} src/cities1000.zip - ''; - - meta = with lib; { - description = "Image gallery mobile application"; - homepage = "https://apps.kde.org/koko/"; - # LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL - license = [ licenses.lgpl3Only licenses.lgpl21Only ]; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/krecorder.nix b/pkgs/applications/plasma-mobile/krecorder.nix deleted file mode 100644 index 71164d1b02d4..000000000000 --- a/pkgs/applications/plasma-mobile/krecorder.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kconfig -, kcoreaddons -, ki18n -, kirigami2 -, kirigami-addons -, kwindowsystem -, qtmultimedia -, qtquickcontrols2 -}: - -mkDerivation rec { - pname = "krecorder"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kconfig - kcoreaddons - ki18n - kirigami2 - kirigami-addons - kwindowsystem - qtmultimedia - qtquickcontrols2 - ]; - - meta = with lib; { - description = "Audio recorder for Plasma Mobile"; - homepage = "https://invent.kde.org/plasma-mobile/krecorder"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/ktrip.nix b/pkgs/applications/plasma-mobile/ktrip.nix deleted file mode 100644 index 5377dd106586..000000000000 --- a/pkgs/applications/plasma-mobile/ktrip.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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"; - homepage = "https://apps.kde.org/ktrip/"; - # GPL-2.0-or-later - license = licenses.gpl2Plus; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/kweather.nix b/pkgs/applications/plasma-mobile/kweather.nix deleted file mode 100644 index d6a1f999ce65..000000000000 --- a/pkgs/applications/plasma-mobile/kweather.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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"; - homepage = "https://invent.kde.org/plasma-mobile/kweather"; - license = with licenses; [ gpl2Plus cc-by-40 ]; - maintainers = with maintainers; [ samueldr ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/neochat.nix b/pkgs/applications/plasma-mobile/neochat.nix deleted file mode 100644 index 8b3da82b8b88..000000000000 --- a/pkgs/applications/plasma-mobile/neochat.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ gcc12Stdenv -, lib -, srcs - -, cmake -, extra-cmake-modules -, pkg-config -, wrapQtAppsHook - -, cmark -, kconfig -, kdbusaddons -, ki18n -, kio -, kirigami-addons -, kirigami2 -, kitemmodels -, knotifications -, kquickimageedit -, libpulseaudio -, libquotient -, libsecret -, olm -, qcoro -, qqc2-desktop-style -, qtgraphicaleffects -, qtkeychain -, qtmultimedia -, qtquickcontrols2 -, sonnet -}: - -# Workaround for AArch64 not using GCC11 yet. -gcc12Stdenv.mkDerivation rec { - pname = "neochat"; - inherit (srcs.neochat) version src; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - pkg-config - wrapQtAppsHook - ]; - - buildInputs = [ - cmark - kconfig - kdbusaddons - kio - ki18n - kirigami-addons - kirigami2 - kitemmodels - knotifications - kquickimageedit - libpulseaudio - libquotient - libsecret - olm - qcoro - qtgraphicaleffects - qtkeychain - qtmultimedia - qtquickcontrols2 - qqc2-desktop-style - sonnet - ]; - - meta = with lib; { - description = "A client for matrix, the decentralized communication protocol"; - homepage = "https://apps.kde.org/en/neochat"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ peterhoeg ]; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch b/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch deleted file mode 100644 index 704b92b2b01a..000000000000 --- a/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 7a9405ed02b0d86839644a2c237ca7ca8b891b76 Mon Sep 17 00:00:00 2001 -From: Samuel Dionne-Riel <samuel@dionne-riel.com> -Date: Wed, 30 Nov 2022 21:07:56 -0500 -Subject: [PATCH] Add placeholders for runtime dependencies - ---- - src/videomodel.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/videomodel.cpp b/src/videomodel.cpp -index 4bb3451..b558f31 100644 ---- a/src/videomodel.cpp -+++ b/src/videomodel.cpp -@@ -121,7 +121,7 @@ QString VideoModel::remoteUrl() - return {}; - } - -- QString youtubeDl = QStringLiteral("yt-dlp"); -+ QString youtubeDl = QStringLiteral("@yt-dlp@"); - QStringList arguments; - arguments << QLatin1String("--dump-json") - << m_videoId; --- -2.38.0 - diff --git a/pkgs/applications/plasma-mobile/plasmatube/default.nix b/pkgs/applications/plasma-mobile/plasmatube/default.nix deleted file mode 100644 index c9753babeaaf..000000000000 --- a/pkgs/applications/plasma-mobile/plasmatube/default.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ lib -, mkDerivation -, cmake -, extra-cmake-modules -, wrapGAppsHook -, gst_all_1 -, kcoreaddons -, kdeclarative -, ki18n -, kirigami2 -, mpv -, qtmultimedia -, qtquickcontrols2 -, yt-dlp -}: - -mkDerivation { - pname = "plasmatube"; - - nativeBuildInputs = [ - extra-cmake-modules - wrapGAppsHook - ]; - - buildInputs = [ - kcoreaddons - kdeclarative - ki18n - kirigami2 - mpv - qtmultimedia - qtquickcontrols2 - ] ++ (with gst_all_1; [ - gst-plugins-bad - gst-plugins-base - gst-plugins-good - gstreamer - ]); - - patches = [ - ./0001-Add-placeholders-for-runtime-dependencies.patch - ]; - - postPatch = '' - substituteInPlace src/videomodel.cpp \ - --replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp" - ''; - - preFixup = '' - qtWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - dontWrapGApps = true; - - meta = { - description = "Youtube player powered by an invidious server"; - homepage = "https://invent.kde.org/plasma-mobile/plasmatube"; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ dotlambda ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/qmlkonsole.nix b/pkgs/applications/plasma-mobile/qmlkonsole.nix deleted file mode 100644 index da892fb47c0e..000000000000 --- a/pkgs/applications/plasma-mobile/qmlkonsole.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules - -, kconfig -, ki18n -, kirigami-addons -, kirigami2 -, kcoreaddons -, qtquickcontrols2 -, kwindowsystem -, qmltermwidget -}: - -mkDerivation { - pname = "qmlkonsole"; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - - buildInputs = [ - kconfig - ki18n - kirigami-addons - kirigami2 - qtquickcontrols2 - kcoreaddons - kwindowsystem - qmltermwidget - ]; - - meta = with lib; { - description = "Terminal app for Plasma Mobile"; - homepage = "https://invent.kde.org/plasma-mobile/qmlkonsole"; - license = with licenses; [ gpl2Plus gpl3Plus cc0 ]; - maintainers = with maintainers; [ balsoft ]; - }; -} diff --git a/pkgs/applications/plasma-mobile/tokodon.nix b/pkgs/applications/plasma-mobile/tokodon.nix deleted file mode 100644 index f93336d40fa8..000000000000 --- a/pkgs/applications/plasma-mobile/tokodon.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ lib -, mkDerivation - -, cmake -, extra-cmake-modules -, pkg-config - -, kconfig -, kdbusaddons -, ki18n -, kirigami2 -, kirigami-addons -, knotifications -, libwebsockets -, qqc2-desktop-style -, qtbase -, qtkeychain -, qtmultimedia -, qtquickcontrols2 -, qttools -, qtwebsockets -, kitemmodels -, pimcommon - -# Workarounds for the point release being missing. -, libsForQt5 -, fetchFromGitLab -}: - -# NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package -# set for the point release, as the point release was not uploaded to -# the Plasma Mobile gear repo, and the injected `mkDerivation` only can -# use the src (and version) from the `srcs` set. -libsForQt5.mkDerivation rec { - pname = "tokodon"; - - version = "23.01.0"; - # NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo. - src = fetchFromGitLab { - domain = "invent.kde.org"; - owner = "network"; - repo = pname; - rev = "v${version}"; - hash = "sha256-iJRyKEFdoWtZLZ/nkMvy2S7EF+JRHXi3O0DswfrClDU="; - }; - - 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 - ]; - - meta = with lib; { - description = "A Mastodon client for Plasma and Plasma Mobile"; - homepage = "https://invent.kde.org/network/tokodon"; - license = licenses.gpl3Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ matthiasbeyer ]; - }; -} |