2021-07-14 01:01:22 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
# New packages
|
|
|
|
|
|
|
|
READ THIS FIRST
|
|
|
|
|
|
|
|
This module is for official packages in the Plasma Mobile Gear. All
|
|
|
|
available packages are listed in `./srcs.nix`, although some are not yet
|
|
|
|
packaged in Nixpkgs.
|
|
|
|
|
|
|
|
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
|
|
|
|
|
|
|
|
See also `pkgs/applications/kde` as this is what this is based on.
|
|
|
|
|
|
|
|
# Updates
|
|
|
|
|
|
|
|
1. Update the URL in `./fetch.sh`.
|
|
|
|
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/plasma-mobile`
|
|
|
|
from the top of the Nixpkgs tree.
|
|
|
|
3. Use `nox-review wip` to check that everything builds.
|
|
|
|
4. Commit the changes and open a pull request.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
{ lib
|
|
|
|
, libsForQt5
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
minQtVersion = "5.15";
|
|
|
|
broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
|
|
|
|
|
|
|
|
mirror = "mirror://kde";
|
|
|
|
srcs = import ./srcs.nix { inherit fetchurl mirror; };
|
|
|
|
|
|
|
|
mkDerivation = args:
|
|
|
|
let
|
|
|
|
inherit (args) pname;
|
|
|
|
inherit (srcs.${pname}) src version;
|
|
|
|
mkDerivation =
|
|
|
|
libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
|
|
|
|
in
|
|
|
|
mkDerivation (args // {
|
|
|
|
inherit pname version src;
|
|
|
|
|
|
|
|
outputs = args.outputs or [ "out" ];
|
|
|
|
|
|
|
|
meta =
|
|
|
|
let meta = args.meta or {}; in
|
|
|
|
meta // {
|
|
|
|
homepage = meta.homepage or "https://www.plasma-mobile.org/";
|
|
|
|
platforms = meta.platforms or lib.platforms.linux;
|
|
|
|
broken = meta.broken or broken;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
packages = self: with self;
|
|
|
|
let
|
|
|
|
callPackage = self.newScope {
|
|
|
|
inherit mkDerivation;
|
|
|
|
};
|
|
|
|
in {
|
2021-03-22 19:53:12 +00:00
|
|
|
alligator = callPackage ./alligator.nix {};
|
2021-10-07 00:58:48 +00:00
|
|
|
angelfish = callPackage ./angelfish.nix { inherit srcs; };
|
2021-10-07 00:55:48 +00:00
|
|
|
audiotube = callPackage ./audiotube.nix {};
|
2021-03-22 20:03:24 +00:00
|
|
|
calindori = callPackage ./calindori.nix {};
|
2021-03-16 21:48:38 +00:00
|
|
|
kalk = callPackage ./kalk.nix {};
|
2021-07-14 04:59:33 +00:00
|
|
|
kasts = callPackage ./kasts.nix {};
|
2021-03-16 22:06:39 +00:00
|
|
|
kclock = callPackage ./kclock.nix {};
|
2021-07-14 05:12:01 +00:00
|
|
|
keysmith = callPackage ./keysmith.nix {};
|
2021-07-14 03:52:07 +00:00
|
|
|
koko = callPackage ./koko.nix {};
|
2021-03-22 20:09:01 +00:00
|
|
|
krecorder = callPackage ./krecorder.nix {};
|
2021-07-14 04:22:40 +00:00
|
|
|
ktrip = callPackage ./ktrip.nix {};
|
2021-03-22 20:20:08 +00:00
|
|
|
kweather = callPackage ./kweather.nix {};
|
2021-03-22 22:45:47 +00:00
|
|
|
plasma-dialer = callPackage ./plasma-dialer.nix {};
|
2021-03-22 22:52:45 +00:00
|
|
|
plasma-phonebook = callPackage ./plasma-phonebook.nix {};
|
2021-03-24 20:37:05 +00:00
|
|
|
spacebar = callPackage ./spacebar.nix {};
|
2021-07-14 01:01:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
in lib.makeScope libsForQt5.newScope packages
|