···1+/*
2+3+# New packages
4+5+READ THIS FIRST
6+7+This module is for the MauiKit framework and official Maui applications. All
8+available packages are listed in `callPackage ./srcs.nix`, although some are not yet
9+packaged in Nixpkgs.
10+11+IF YOUR PACKAGE IS NOT LISTED IN `callPackage ./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 `callPackage ./fetch.sh`.
18+2. Run `callPackage ./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/maui`
19+ from the top of the Nixpkgs tree.
20+3. Use `nixpkgs-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://mauikit.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+ # libraries
65+ mauikit = callPackage ./mauikit.nix { };
66+ mauikit-accounts = callPackage ./mauikit-accounts.nix { };
67+ mauikit-filebrowsing = callPackage ./mauikit-filebrowsing.nix { };
68+ mauikit-texteditor = callPackage ./mauikit-texteditor.nix { };
69+70+ # applications
71+ buho = callPackage ./buho.nix { };
72+ clip = callPackage ./clip.nix { };
73+ communicator = callPackage ./communicator.nix { };
74+ index = callPackage ./index.nix { };
75+ nota = callPackage ./nota.nix { };
76+ shelf = callPackage ./shelf.nix { };
77+ vvave = callPackage ./vvave.nix { };
78+ };
79+80+in lib.makeScope libsForQt5.newScope packages
+1
pkgs/applications/maui/fetch.sh
···0
···1+WGET_ARGS=( https://download.kde.org/stable/maui/ -A '*-2.1.2.tar.xz' )
···129 bro = zeek; # Added 2019-09-29
130 btrfsProgs = throw "'btrfsProgs' has been renamed to/replaced by 'btrfs-progs'"; # Converted to throw 2022-02-22
131 bud = throw "bud has been removed: abandoned by upstream"; # Added 2022-03-14
0132 buttersink = throw "buttersink has been removed: abandoned by upstream"; # Added 2022-04-05
133134 # bitwarden_rs renamed to vaultwarden with release 1.21.0 (2021-04-30)
···170 cifs_utils = throw "'cifs_utils' has been renamed to/replaced by 'cifs-utils'"; # Converted to throw 2022-02-22
171 cipherscan = throw "cipherscan was removed from nixpkgs, as it was unmaintained"; # added 2021-12-11
172 ckb = throw "'ckb' has been renamed to/replaced by 'ckb-next'"; # Converted to throw 2022-02-22
0173 cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
174 creddump = throw "creddump has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01
175···193 clutter_gtk = throw "'clutter_gtk' has been renamed to/replaced by 'clutter-gtk'"; # Converted to throw 2022-02-22
194 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # Added 2021-05
195 codimd = hedgedoc; # Added 2020-11-29
0196 compton = picom; # Added 2019-12-02
197 compton-git = throw "'compton-git' has been renamed to/replaced by 'compton'"; # Converted to throw 2022-02-22
198 concurrencykit = libck; # Added 2021-03
···578 impressive = throw "impressive has been removed due to lack of released python 2 support and maintainership in nixpkgs"; # Added 2022-01-27
579 i-score = throw "i-score has been removed: abandoned upstream"; # Added 2020-11-21
580 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";
0581 infiniband-diags = rdma-core; # Added 2019-08-09
582 ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project"; # Added 2022-01-12
583 inotifyTools = inotify-tools;
···807 matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
808 mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
809 matrique = spectral; # Added 2020-01-27
0810 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # Added 2020-05-23
811 mediatomb = throw "mediatomb is no longer maintained upstream, use gerbera instead"; # added 2022-01-04
812 meme = meme-image-generator; # Added 2021-04-21
···1202 seeks = throw "seeks has been removed from nixpkgs, as it was unmaintained"; # Added 2020-06-21
1203 sepolgen = throw "sepolgen was merged into selinux-python"; # Added 2021-11-11
1204 shared_mime_info = throw "'shared_mime_info' has been renamed to/replaced by 'shared-mime-info'"; # Converted to throw 2022-02-22
01205 shellinabox = throw "shellinabox has been removed from nixpkgs, as it was unmaintained upstream"; # Added 2021-12-15
1206 sickbeard = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
1207 sickrage = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
···1390 vnc2flv = throw "vnc2flv has been removed: abandoned by upstream"; # Added 2022-03-21
1391 vorbisTools = throw "'vorbisTools' has been renamed to/replaced by 'vorbis-tools'"; # Converted to throw 2022-02-22
1392 vtun = throw "vtune has been removed as it's unmaintained upstream"; # Added 2021-10-29
013931394 ### W ###
1395
···129 bro = zeek; # Added 2019-09-29
130 btrfsProgs = throw "'btrfsProgs' has been renamed to/replaced by 'btrfs-progs'"; # Converted to throw 2022-02-22
131 bud = throw "bud has been removed: abandoned by upstream"; # Added 2022-03-14
132+ inherit (libsForQt5.mauiPackages) buho; # added 2022-05-17
133 buttersink = throw "buttersink has been removed: abandoned by upstream"; # Added 2022-04-05
134135 # bitwarden_rs renamed to vaultwarden with release 1.21.0 (2021-04-30)
···171 cifs_utils = throw "'cifs_utils' has been renamed to/replaced by 'cifs-utils'"; # Converted to throw 2022-02-22
172 cipherscan = throw "cipherscan was removed from nixpkgs, as it was unmaintained"; # added 2021-12-11
173 ckb = throw "'ckb' has been renamed to/replaced by 'ckb-next'"; # Converted to throw 2022-02-22
174+ inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17
175 cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
176 creddump = throw "creddump has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01
177···195 clutter_gtk = throw "'clutter_gtk' has been renamed to/replaced by 'clutter-gtk'"; # Converted to throw 2022-02-22
196 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # Added 2021-05
197 codimd = hedgedoc; # Added 2020-11-29
198+ inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
199 compton = picom; # Added 2019-12-02
200 compton-git = throw "'compton-git' has been renamed to/replaced by 'compton'"; # Converted to throw 2022-02-22
201 concurrencykit = libck; # Added 2021-03
···581 impressive = throw "impressive has been removed due to lack of released python 2 support and maintainership in nixpkgs"; # Added 2022-01-27
582 i-score = throw "i-score has been removed: abandoned upstream"; # Added 2020-11-21
583 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";
584+ index-fm = libsForQt5.mauiPackages.index; # added 2022-05-17
585 infiniband-diags = rdma-core; # Added 2019-08-09
586 ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project"; # Added 2022-01-12
587 inotifyTools = inotify-tools;
···811 matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
812 mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
813 matrique = spectral; # Added 2020-01-27
814+ maui-nota = libsForQt5.mauiPackages.nota; # added 2022-05-17
815 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # Added 2020-05-23
816 mediatomb = throw "mediatomb is no longer maintained upstream, use gerbera instead"; # added 2022-01-04
817 meme = meme-image-generator; # Added 2021-04-21
···1207 seeks = throw "seeks has been removed from nixpkgs, as it was unmaintained"; # Added 2020-06-21
1208 sepolgen = throw "sepolgen was merged into selinux-python"; # Added 2021-11-11
1209 shared_mime_info = throw "'shared_mime_info' has been renamed to/replaced by 'shared-mime-info'"; # Converted to throw 2022-02-22
1210+ inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17
1211 shellinabox = throw "shellinabox has been removed from nixpkgs, as it was unmaintained upstream"; # Added 2021-12-15
1212 sickbeard = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
1213 sickrage = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
···1396 vnc2flv = throw "vnc2flv has been removed: abandoned by upstream"; # Added 2022-03-21
1397 vorbisTools = throw "'vorbisTools' has been renamed to/replaced by 'vorbis-tools'"; # Converted to throw 2022-02-22
1398 vtun = throw "vtune has been removed as it's unmaintained upstream"; # Added 2021-10-29
1399+ inherit (libsForQt5.mauiPackages) vvave; # added 2022-05-17
14001401 ### W ###
1402