about summary refs log tree commit diff
path: root/pkgs/applications/maui
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-05-17 01:11:06 +0000
committerRobert Schütz <github@dotlambda.de>2022-05-20 08:54:02 -0700
commitd5a2974e52103113256942a378906b401e31721b (patch)
tree696e34dc035c2b173b7ecdc6a726dce737033376 /pkgs/applications/maui
parentdfd82985c273aac6eced03625f454b334daae2e8 (diff)
libsForQt5.mauiPackages: init at 2.1.2
Diffstat (limited to 'pkgs/applications/maui')
-rw-r--r--pkgs/applications/maui/buho.nix48
-rw-r--r--pkgs/applications/maui/clip.nix48
-rw-r--r--pkgs/applications/maui/communicator.nix57
-rw-r--r--pkgs/applications/maui/default.nix80
-rw-r--r--pkgs/applications/maui/fetch.sh1
-rw-r--r--pkgs/applications/maui/index.nix47
-rw-r--r--pkgs/applications/maui/mauikit-accounts.nix30
-rw-r--r--pkgs/applications/maui/mauikit-filebrowsing.nix30
-rw-r--r--pkgs/applications/maui/mauikit-texteditor.nix32
-rw-r--r--pkgs/applications/maui/mauikit.nix37
-rw-r--r--pkgs/applications/maui/nota.nix46
-rw-r--r--pkgs/applications/maui/shelf.nix48
-rw-r--r--pkgs/applications/maui/srcs.nix118
-rw-r--r--pkgs/applications/maui/vvave.nix49
14 files changed, 671 insertions, 0 deletions
diff --git a/pkgs/applications/maui/buho.nix b/pkgs/applications/maui/buho.nix
new file mode 100644
index 0000000000000..481779a6cab77
--- /dev/null
+++ b/pkgs/applications/maui/buho.nix
@@ -0,0 +1,48 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, mauikit-accounts
+, mauikit-texteditor
+, qtmultimedia
+, qtquickcontrols2
+}:
+
+mkDerivation {
+  pname = "buho";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-filebrowsing
+    mauikit-accounts
+    mauikit-texteditor
+    qtmultimedia
+    qtquickcontrols2
+  ];
+
+  meta = with lib; {
+    description = "Task and Note Keeper";
+    homepage = "https://invent.kde.org/maui/buho";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/clip.nix b/pkgs/applications/maui/clip.nix
new file mode 100644
index 0000000000000..10df8c47dfc3c
--- /dev/null
+++ b/pkgs/applications/maui/clip.nix
@@ -0,0 +1,48 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, qtmultimedia
+, qtquickcontrols2
+, taglib
+, ffmpeg
+}:
+
+mkDerivation {
+  pname = "clip";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-filebrowsing
+    qtmultimedia
+    qtquickcontrols2
+    taglib
+    ffmpeg
+  ];
+
+  meta = with lib; {
+    description = "Video player and video collection manager";
+    homepage = "https://invent.kde.org/maui/clip";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/communicator.nix b/pkgs/applications/maui/communicator.nix
new file mode 100644
index 0000000000000..3fec87d1f512a
--- /dev/null
+++ b/pkgs/applications/maui/communicator.nix
@@ -0,0 +1,57 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-accounts
+, mauikit-filebrowsing
+, mauikit-texteditor
+, qtmultimedia
+, qtquickcontrols2
+, kpeople
+, kcontacts
+}:
+
+mkDerivation {
+  pname = "communicator";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  postPatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace "/usr/share/maui-accounts/manifests" "$out/usr/share/maui-accounts/manifests"
+  '';
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-accounts
+    mauikit-filebrowsing
+    mauikit-texteditor
+    qtmultimedia
+    qtquickcontrols2
+    kpeople
+    kcontacts
+  ];
+
+  meta = with lib; {
+    description = "Contacts and dialer application";
+    homepage = "https://invent.kde.org/maui/communicator";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/default.nix b/pkgs/applications/maui/default.nix
new file mode 100644
index 0000000000000..b0bc438dbbc28
--- /dev/null
+++ b/pkgs/applications/maui/default.nix
@@ -0,0 +1,80 @@
+/*
+
+# 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
+
+1. Update the URL in `callPackage ./fetch.sh`.
+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
+  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://mauikit.org/";
+            platforms = meta.platforms or lib.platforms.linux;
+            broken = meta.broken or broken;
+          };
+      });
+
+  packages = self: with self;
+    let
+      callPackage = self.newScope {
+        inherit mkDerivation;
+      };
+    in {
+      # libraries
+      mauikit = callPackage ./mauikit.nix { };
+      mauikit-accounts = callPackage ./mauikit-accounts.nix { };
+      mauikit-filebrowsing = callPackage ./mauikit-filebrowsing.nix { };
+      mauikit-texteditor = callPackage ./mauikit-texteditor.nix { };
+
+      # applications
+      buho = callPackage ./buho.nix { };
+      clip = callPackage ./clip.nix { };
+      communicator = callPackage ./communicator.nix { };
+      index = callPackage ./index.nix { };
+      nota = callPackage ./nota.nix { };
+      shelf = callPackage ./shelf.nix { };
+      vvave = callPackage ./vvave.nix { };
+    };
+
+in lib.makeScope libsForQt5.newScope packages
diff --git a/pkgs/applications/maui/fetch.sh b/pkgs/applications/maui/fetch.sh
new file mode 100644
index 0000000000000..cc163d289e0a0
--- /dev/null
+++ b/pkgs/applications/maui/fetch.sh
@@ -0,0 +1 @@
+WGET_ARGS=( https://download.kde.org/stable/maui/ -A '*-2.1.2.tar.xz' )
diff --git a/pkgs/applications/maui/index.nix b/pkgs/applications/maui/index.nix
new file mode 100644
index 0000000000000..bc223adb4b1cf
--- /dev/null
+++ b/pkgs/applications/maui/index.nix
@@ -0,0 +1,47 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, qtmultimedia
+, qtquickcontrols2
+}:
+
+mkDerivation {
+  pname = "index-fm";
+
+  postPatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace "-Werror" ""
+  '';
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-filebrowsing
+    qtmultimedia
+    qtquickcontrols2
+  ];
+
+  meta = with lib; {
+    description = "Multi-platform file manager";
+    homepage = "https://invent.kde.org/maui/index-fm";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}
diff --git a/pkgs/applications/maui/mauikit-accounts.nix b/pkgs/applications/maui/mauikit-accounts.nix
new file mode 100644
index 0000000000000..24308b7624831
--- /dev/null
+++ b/pkgs/applications/maui/mauikit-accounts.nix
@@ -0,0 +1,30 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, kconfig
+, kio
+, mauikit
+}:
+
+mkDerivation {
+  pname = "mauikit-accounts";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    kconfig
+    kio
+    mauikit
+  ];
+
+  meta = with lib; {
+    homepage = "https://invent.kde.org/maui/mauikit-accounts";
+    description = "MauiKit utilities to handle User Accounts";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/mauikit-filebrowsing.nix b/pkgs/applications/maui/mauikit-filebrowsing.nix
new file mode 100644
index 0000000000000..d8be881f76496
--- /dev/null
+++ b/pkgs/applications/maui/mauikit-filebrowsing.nix
@@ -0,0 +1,30 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, kconfig
+, kio
+, mauikit
+}:
+
+mkDerivation {
+  pname = "mauikit-filebrowsing";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    kconfig
+    kio
+    mauikit
+  ];
+
+  meta = with lib; {
+    homepage = "https://invent.kde.org/maui/mauikit-filebrowsing";
+    description = "MauiKit File Browsing utilities and controls";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}
diff --git a/pkgs/applications/maui/mauikit-texteditor.nix b/pkgs/applications/maui/mauikit-texteditor.nix
new file mode 100644
index 0000000000000..75826c2079ac0
--- /dev/null
+++ b/pkgs/applications/maui/mauikit-texteditor.nix
@@ -0,0 +1,32 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, kconfig
+, kio
+, mauikit
+, syntax-highlighting
+}:
+
+mkDerivation {
+  pname = "mauikit-texteditor";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    kconfig
+    kio
+    mauikit
+    syntax-highlighting
+  ];
+
+  meta = with lib; {
+    homepage = "https://invent.kde.org/maui/mauikit-texteditor";
+    description = "MauiKit Text Editor components";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/mauikit.nix b/pkgs/applications/maui/mauikit.nix
new file mode 100644
index 0000000000000..76f2f7db5d733
--- /dev/null
+++ b/pkgs/applications/maui/mauikit.nix
@@ -0,0 +1,37 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, kconfig
+, kcoreaddons
+, ki18n
+, knotifications
+, qtbase
+, qtquickcontrols2
+, qtx11extras
+}:
+
+mkDerivation {
+  pname = "mauikit";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    kconfig
+    kcoreaddons
+    ki18n
+    knotifications
+    qtquickcontrols2
+    qtx11extras
+  ];
+
+  meta = with lib; {
+    homepage = "https://mauikit.org/";
+    description = "Free and modular front-end framework for developing fast and compelling user experiences";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}
diff --git a/pkgs/applications/maui/nota.nix b/pkgs/applications/maui/nota.nix
new file mode 100644
index 0000000000000..cdf4943df5fec
--- /dev/null
+++ b/pkgs/applications/maui/nota.nix
@@ -0,0 +1,46 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, mauikit-texteditor
+, qtmultimedia
+, qtquickcontrols2
+}:
+
+mkDerivation {
+  pname = "nota";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-filebrowsing
+    mauikit-texteditor
+    qtmultimedia
+    qtquickcontrols2
+  ];
+
+  meta = with lib; {
+    description = "Multi-platform text editor";
+    homepage = "https://invent.kde.org/maui/nota";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/shelf.nix b/pkgs/applications/maui/shelf.nix
new file mode 100644
index 0000000000000..3942b9a34d6a1
--- /dev/null
+++ b/pkgs/applications/maui/shelf.nix
@@ -0,0 +1,48 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, mauikit-texteditor
+, qtmultimedia
+, qtquickcontrols2
+, poppler
+}:
+
+mkDerivation {
+  pname = "shelf";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-filebrowsing
+    mauikit-texteditor
+    qtmultimedia
+    qtquickcontrols2
+    poppler
+  ];
+
+  meta = with lib; {
+    description = "Document and EBook collection manager";
+    homepage = "https://invent.kde.org/maui/shelf";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
diff --git a/pkgs/applications/maui/srcs.nix b/pkgs/applications/maui/srcs.nix
new file mode 100644
index 0000000000000..a432814d49ec2
--- /dev/null
+++ b/pkgs/applications/maui/srcs.nix
@@ -0,0 +1,118 @@
+# DO NOT EDIT! This file is generated automatically.
+# Command: ./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/maui
+{ fetchurl, mirror }:
+
+{
+  buho = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/buho/2.1.2/buho-2.1.2.tar.xz";
+      sha256 = "0xc623w1zp0yh929b8h6mf9r4frnfabd30634ba43x4ac12jk7g8";
+      name = "buho-2.1.2.tar.xz";
+    };
+  };
+  clip = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/clip/2.1.2/clip-2.1.2.tar.xz";
+      sha256 = "168lz2qi4y56pwfwyzqnhwz4lgh2763w260l860527aw049crv4z";
+      name = "clip-2.1.2.tar.xz";
+    };
+  };
+  communicator = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/communicator/2.1.2/communicator-2.1.2.tar.xz";
+      sha256 = "0m7axdjpl7s9cz6fcaj4kwr9wdxybwdb76k9rz5yigyy35vigcfi";
+      name = "communicator-2.1.2.tar.xz";
+    };
+  };
+  index-fm = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/index/2.1.2/index-fm-2.1.2.tar.xz";
+      sha256 = "1yawnzx51h6yrlnivbwz9d7481k382pzg3jnczrajfjnv7ir29dn";
+      name = "index-fm-2.1.2.tar.xz";
+    };
+  };
+  mauikit = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/mauikit/2.1.2/mauikit-2.1.2.tar.xz";
+      sha256 = "1n5p8107lwa4m5gbwlcqmmdlyw15vjaq0dfaz5zal733s6rq2gm7";
+      name = "mauikit-2.1.2.tar.xz";
+    };
+  };
+  mauikit-accounts = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/mauikit-accounts/2.1.2/mauikit-accounts-2.1.2.tar.xz";
+      sha256 = "00nc54gi34r8z6cwa0h8490gd0w01a245rh2g4d9fvbkrybwg7sk";
+      name = "mauikit-accounts-2.1.2.tar.xz";
+    };
+  };
+  mauikit-filebrowsing = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/mauikit-filebrowsing/2.1.2/mauikit-filebrowsing-2.1.2.tar.xz";
+      sha256 = "09pfjr449mkf27ywmwsvflzq0dgaiprw8b2lcms3m5ad7i6jvvyq";
+      name = "mauikit-filebrowsing-2.1.2.tar.xz";
+    };
+  };
+  mauikit-imagetools = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/mauikit-imagetools/2.1.2/mauikit-imagetools-2.1.2.tar.xz";
+      sha256 = "1830x8xwyjs7bj0qi63pl1dk5h2qi6f84mki1schviddddq5cv6j";
+      name = "mauikit-imagetools-2.1.2.tar.xz";
+    };
+  };
+  mauikit-texteditor = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/mauikit-texteditor/2.1.2/mauikit-texteditor-2.1.2.tar.xz";
+      sha256 = "19z9qry56h2624kdx5xnfjzd3spv5shc87p2m6ix33x9mmrf92p1";
+      name = "mauikit-texteditor-2.1.2.tar.xz";
+    };
+  };
+  nota = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/nota/2.1.2/nota-2.1.2.tar.xz";
+      sha256 = "11z1mw6yhwin3wj19gj9495az4p40yjkwrn0nb6i8h9b0nh44pn7";
+      name = "nota-2.1.2.tar.xz";
+    };
+  };
+  pix = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/pix/2.1.2/pix-2.1.2.tar.xz";
+      sha256 = "0ycpazi267pl4l178i34lwzc0ssjklp0indz79r7mcfpr1vicz1s";
+      name = "pix-2.1.2.tar.xz";
+    };
+  };
+  shelf = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/shelf/2.1.2/shelf-2.1.2.tar.xz";
+      sha256 = "0f3781l8wfbpj0irmri0zkp3ia3qlik4aaq3w6qk97xjv24d98xh";
+      name = "shelf-2.1.2.tar.xz";
+    };
+  };
+  station = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/station/2.1.2/station-2.1.2.tar.xz";
+      sha256 = "0lrw7rf8i277nl9bwyx5sc05bswgll00k1jzad1i69rwdfiy9ghg";
+      name = "station-2.1.2.tar.xz";
+    };
+  };
+  vvave = {
+    version = "2.1.2";
+    src = fetchurl {
+      url = "${mirror}/stable/maui/vvave/2.1.2/vvave-2.1.2.tar.xz";
+      sha256 = "14b6b034899vyvvhzl2jqifqq715lb26dnw3d5wxzxhdplfd7pdf";
+      name = "vvave-2.1.2.tar.xz";
+    };
+  };
+}
diff --git a/pkgs/applications/maui/vvave.nix b/pkgs/applications/maui/vvave.nix
new file mode 100644
index 0000000000000..bd5b972920105
--- /dev/null
+++ b/pkgs/applications/maui/vvave.nix
@@ -0,0 +1,49 @@
+{ lib
+, mkDerivation
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-accounts
+, mauikit-filebrowsing
+, qtmultimedia
+, qtquickcontrols2
+, taglib
+}:
+
+mkDerivation {
+  pname = "vvave";
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+  ];
+
+  buildInputs = [
+    applet-window-buttons
+    karchive
+    kcoreaddons
+    ki18n
+    kio
+    kirigami2
+    mauikit
+    mauikit-accounts
+    mauikit-filebrowsing
+    qtmultimedia
+    qtquickcontrols2
+    taglib
+  ];
+
+  meta = with lib; {
+    description = "Multi-platform media player";
+    homepage = "https://invent.kde.org/maui/vvave";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ onny ];
+  };
+}
+