···1+/*
2+3+# New packages
4+5+READ THIS FIRST
6+7+This module is for official packages in the Plasma Mobile Gear. All
8+available packages are listed in `./srcs.nix`, although some are not yet
9+packaged in Nixpkgs.
10+11+IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
12+13+See also `pkgs/applications/kde` as this is what this is based on.
14+15+# Updates
16+17+1. Update the URL in `./fetch.sh`.
18+2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/plasma-mobile`
19+ from the top of the Nixpkgs tree.
20+3. Use `nox-review wip` to check that everything builds.
21+4. Commit the changes and open a pull request.
22+23+*/
24+25+{ lib
26+, libsForQt5
27+, fetchurl
28+}:
29+30+let
31+ minQtVersion = "5.15";
32+ broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
33+34+ mirror = "mirror://kde";
35+ srcs = import ./srcs.nix { inherit fetchurl mirror; };
36+37+ mkDerivation = args:
38+ let
39+ inherit (args) pname;
40+ inherit (srcs.${pname}) src version;
41+ mkDerivation =
42+ libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
43+ in
44+ mkDerivation (args // {
45+ inherit pname version src;
46+47+ outputs = args.outputs or [ "out" ];
48+49+ meta =
50+ let meta = args.meta or {}; in
51+ meta // {
52+ homepage = meta.homepage or "https://www.plasma-mobile.org/";
53+ platforms = meta.platforms or lib.platforms.linux;
54+ broken = meta.broken or broken;
55+ };
56+ });
57+58+ packages = self: with self;
59+ let
60+ callPackage = self.newScope {
61+ inherit mkDerivation;
62+ };
63+ in {
64+ alligator = callPackage ./alligator.nix {};
65+ calindori = callPackage ./calindori.nix {};
66+ kalk = callPackage ./kalk.nix {};
67+ kclock = callPackage ./kclock.nix {};
68+ koko = callPackage ./koko.nix {};
69+ krecorder = callPackage ./krecorder.nix {};
70+ ktrip = callPackage ./ktrip.nix {};
71+ plasma-dialer = callPackage ./plasma-dialer.nix {};
72+ plasma-phonebook = callPackage ./plasma-phonebook.nix {};
73+ spacebar = callPackage ./spacebar.nix {};
74+ };
75+76+in lib.makeScope libsForQt5.newScope packages
+1
pkgs/applications/plasma-mobile/fetch.sh
···0
···1+WGET_ARGS=( http://download.kde.org/stable/plasma-mobile/21.05 -A '*.tar.xz' )
···373 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
374 joseki = apache-jena-fuseki; # added 2016-02-28
375 json_glib = json-glib; # added 2018-02-25
376- kalk = kalker; # added 2021-06-03
377 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
378 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
379 kodiGBM = kodi-gbm;
···373 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
374 joseki = apache-jena-fuseki; # added 2016-02-28
375 json_glib = json-glib; # added 2018-02-25
0376 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
377 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
378 kodiGBM = kodi-gbm;