···11+/*
22+33+# New packages
44+55+READ THIS FIRST
66+77+This module is for the MauiKit framework and official Maui applications. All
88+available packages are listed in `callPackage ./srcs.nix`, although some are not yet
99+packaged in Nixpkgs.
1010+1111+IF YOUR PACKAGE IS NOT LISTED IN `callPackage ./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 `callPackage ./fetch.sh`.
1818+2. Run `callPackage ./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/maui`
1919+ from the top of the Nixpkgs tree.
2020+3. Use `nixpkgs-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://mauikit.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+ # libraries
6565+ mauikit = callPackage ./mauikit.nix { };
6666+ mauikit-accounts = callPackage ./mauikit-accounts.nix { };
6767+ mauikit-filebrowsing = callPackage ./mauikit-filebrowsing.nix { };
6868+ mauikit-texteditor = callPackage ./mauikit-texteditor.nix { };
6969+7070+ # applications
7171+ buho = callPackage ./buho.nix { };
7272+ clip = callPackage ./clip.nix { };
7373+ communicator = callPackage ./communicator.nix { };
7474+ index = callPackage ./index.nix { };
7575+ nota = callPackage ./nota.nix { };
7676+ shelf = callPackage ./shelf.nix { };
7777+ vvave = callPackage ./vvave.nix { };
7878+ };
7979+8080+in lib.makeScope libsForQt5.newScope packages
+1
pkgs/applications/maui/fetch.sh
···11+WGET_ARGS=( https://download.kde.org/stable/maui/ -A '*-2.1.2.tar.xz' )
···129129 bro = zeek; # Added 2019-09-29
130130 btrfsProgs = throw "'btrfsProgs' has been renamed to/replaced by 'btrfs-progs'"; # Converted to throw 2022-02-22
131131 bud = throw "bud has been removed: abandoned by upstream"; # Added 2022-03-14
132132+ inherit (libsForQt5.mauiPackages) buho; # added 2022-05-17
132133 buttersink = throw "buttersink has been removed: abandoned by upstream"; # Added 2022-04-05
133134134135 # bitwarden_rs renamed to vaultwarden with release 1.21.0 (2021-04-30)
···170171 cifs_utils = throw "'cifs_utils' has been renamed to/replaced by 'cifs-utils'"; # Converted to throw 2022-02-22
171172 cipherscan = throw "cipherscan was removed from nixpkgs, as it was unmaintained"; # added 2021-12-11
172173 ckb = throw "'ckb' has been renamed to/replaced by 'ckb-next'"; # Converted to throw 2022-02-22
174174+ inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17
173175 cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
174176 creddump = throw "creddump has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01
175177···193195 clutter_gtk = throw "'clutter_gtk' has been renamed to/replaced by 'clutter-gtk'"; # Converted to throw 2022-02-22
194196 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # Added 2021-05
195197 codimd = hedgedoc; # Added 2020-11-29
198198+ inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
196199 compton = picom; # Added 2019-12-02
197200 compton-git = throw "'compton-git' has been renamed to/replaced by 'compton'"; # Converted to throw 2022-02-22
198201 concurrencykit = libck; # Added 2021-03
···578581 impressive = throw "impressive has been removed due to lack of released python 2 support and maintainership in nixpkgs"; # Added 2022-01-27
579582 i-score = throw "i-score has been removed: abandoned upstream"; # Added 2020-11-21
580583 inboxer = throw "inboxer has been removed as it is no longer maintained and no longer works as Google shut down the inbox service this package wrapped";
584584+ index-fm = libsForQt5.mauiPackages.index; # added 2022-05-17
581585 infiniband-diags = rdma-core; # Added 2019-08-09
582586 ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project"; # Added 2022-01-12
583587 inotifyTools = inotify-tools;
···807811 matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
808812 mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
809813 matrique = spectral; # Added 2020-01-27
814814+ maui-nota = libsForQt5.mauiPackages.nota; # added 2022-05-17
810815 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # Added 2020-05-23
811816 mediatomb = throw "mediatomb is no longer maintained upstream, use gerbera instead"; # added 2022-01-04
812817 meme = meme-image-generator; # Added 2021-04-21
···12021207 seeks = throw "seeks has been removed from nixpkgs, as it was unmaintained"; # Added 2020-06-21
12031208 sepolgen = throw "sepolgen was merged into selinux-python"; # Added 2021-11-11
12041209 shared_mime_info = throw "'shared_mime_info' has been renamed to/replaced by 'shared-mime-info'"; # Converted to throw 2022-02-22
12101210+ inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17
12051211 shellinabox = throw "shellinabox has been removed from nixpkgs, as it was unmaintained upstream"; # Added 2021-12-15
12061212 sickbeard = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
12071213 sickrage = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
···13901396 vnc2flv = throw "vnc2flv has been removed: abandoned by upstream"; # Added 2022-03-21
13911397 vorbisTools = throw "'vorbisTools' has been renamed to/replaced by 'vorbis-tools'"; # Converted to throw 2022-02-22
13921398 vtun = throw "vtune has been removed as it's unmaintained upstream"; # Added 2021-10-29
13991399+ inherit (libsForQt5.mauiPackages) vvave; # added 2022-05-17
1393140013941401 ### W ###
13951402