2022-05-17 01:11:06 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
# New packages
|
|
|
|
|
|
|
|
READ THIS FIRST
|
|
|
|
|
|
|
|
This module is for the MauiKit framework and official Maui applications. All
|
|
|
|
available packages are listed in `callPackage ./srcs.nix`, although some are not yet
|
|
|
|
packaged in Nixpkgs.
|
|
|
|
|
|
|
|
IF YOUR PACKAGE IS NOT LISTED IN `callPackage ./srcs.nix`, IT DOES NOT GO HERE.
|
|
|
|
|
|
|
|
See also `pkgs/applications/kde` as this is what this is based on.
|
|
|
|
|
|
|
|
# Updates
|
|
|
|
|
2022-11-08 20:32:29 +00:00
|
|
|
1. Update the URL in `./fetch.sh`.
|
2022-05-17 01:11:06 +00:00
|
|
|
2. Run `callPackage ./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/maui`
|
|
|
|
from the top of the Nixpkgs tree.
|
|
|
|
3. Use `nixpkgs-review wip` to check that everything builds.
|
|
|
|
4. Commit the changes and open a pull request.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
{ lib
|
|
|
|
, libsForQt5
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
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://mauikit.org/";
|
|
|
|
platforms = meta.platforms or lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2023-03-17 22:58:24 +00:00
|
|
|
packages = self:
|
2022-05-17 01:11:06 +00:00
|
|
|
let
|
|
|
|
callPackage = self.newScope {
|
|
|
|
inherit mkDerivation;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
# libraries
|
|
|
|
mauikit = callPackage ./mauikit.nix { };
|
|
|
|
mauikit-accounts = callPackage ./mauikit-accounts.nix { };
|
2023-04-20 09:41:57 +00:00
|
|
|
mauikit-calendar = callPackage ./mauikit-calendar { };
|
2023-09-30 17:40:36 +00:00
|
|
|
mauikit-documents = callPackage ./mauikit-documents.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
mauikit-filebrowsing = callPackage ./mauikit-filebrowsing.nix { };
|
2022-01-12 11:38:33 +00:00
|
|
|
mauikit-imagetools = callPackage ./mauikit-imagetools.nix { };
|
2023-05-27 08:53:25 +00:00
|
|
|
mauikit-terminal = callPackage ./mauikit-terminal.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
mauikit-texteditor = callPackage ./mauikit-texteditor.nix { };
|
2022-11-08 20:32:29 +00:00
|
|
|
mauiman = callPackage ./mauiman.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
|
|
|
|
# applications
|
2022-11-11 18:52:03 +00:00
|
|
|
booth = callPackage ./booth.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
buho = callPackage ./buho.nix { };
|
|
|
|
clip = callPackage ./clip.nix { };
|
|
|
|
communicator = callPackage ./communicator.nix { };
|
|
|
|
index = callPackage ./index.nix { };
|
|
|
|
nota = callPackage ./nota.nix { };
|
2022-01-12 11:31:37 +00:00
|
|
|
pix = callPackage ./pix.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
shelf = callPackage ./shelf.nix { };
|
2022-12-12 15:46:53 +00:00
|
|
|
station = callPackage ./station.nix { };
|
2022-05-17 01:11:06 +00:00
|
|
|
vvave = callPackage ./vvave.nix { };
|
|
|
|
};
|
|
|
|
|
|
|
|
in lib.makeScope libsForQt5.newScope packages
|