···11+/*
22+33+# New packages
44+55+READ THIS FIRST
66+77+This module is for official packages in the Plasma Mobile Gear. All
88+available packages are listed in `./srcs.nix`, although some are not yet
99+packaged in Nixpkgs.
1010+1111+IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
1212+1313+See also `pkgs/applications/kde` as this is what this is based on.
1414+1515+# Updates
1616+1717+1. Update the URL in `./fetch.sh`.
1818+2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/plasma-mobile`
1919+ from the top of the Nixpkgs tree.
2020+3. Use `nox-review wip` to check that everything builds.
2121+4. Commit the changes and open a pull request.
2222+2323+*/
2424+2525+{ lib
2626+, libsForQt5
2727+, fetchurl
2828+}:
2929+3030+let
3131+ minQtVersion = "5.15";
3232+ broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
3333+3434+ mirror = "mirror://kde";
3535+ srcs = import ./srcs.nix { inherit fetchurl mirror; };
3636+3737+ mkDerivation = args:
3838+ let
3939+ inherit (args) pname;
4040+ inherit (srcs.${pname}) src version;
4141+ mkDerivation =
4242+ libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
4343+ in
4444+ mkDerivation (args // {
4545+ inherit pname version src;
4646+4747+ outputs = args.outputs or [ "out" ];
4848+4949+ meta =
5050+ let meta = args.meta or {}; in
5151+ meta // {
5252+ homepage = meta.homepage or "https://www.plasma-mobile.org/";
5353+ platforms = meta.platforms or lib.platforms.linux;
5454+ broken = meta.broken or broken;
5555+ };
5656+ });
5757+5858+ packages = self: with self;
5959+ let
6060+ callPackage = self.newScope {
6161+ inherit mkDerivation;
6262+ };
6363+ in {
6464+ alligator = callPackage ./alligator.nix {};
6565+ calindori = callPackage ./calindori.nix {};
6666+ kalk = callPackage ./kalk.nix {};
6767+ kclock = callPackage ./kclock.nix {};
6868+ koko = callPackage ./koko.nix {};
6969+ krecorder = callPackage ./krecorder.nix {};
7070+ ktrip = callPackage ./ktrip.nix {};
7171+ plasma-dialer = callPackage ./plasma-dialer.nix {};
7272+ plasma-phonebook = callPackage ./plasma-phonebook.nix {};
7373+ spacebar = callPackage ./spacebar.nix {};
7474+ };
7575+7676+in lib.makeScope libsForQt5.newScope packages
+1
pkgs/applications/plasma-mobile/fetch.sh
···11+WGET_ARGS=( http://download.kde.org/stable/plasma-mobile/21.05 -A '*.tar.xz' )
···373373 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
374374 joseki = apache-jena-fuseki; # added 2016-02-28
375375 json_glib = json-glib; # added 2018-02-25
376376- kalk = kalker; # added 2021-06-03
377376 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
378377 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
379378 kodiGBM = kodi-gbm;