about summary refs log tree commit diff
path: root/pkgs/applications/misc/qMasterPassword
diff options
context:
space:
mode:
authorteutat3s <10206665+teutat3s@users.noreply.github.com>2022-11-07 15:06:08 +0100
committerteutat3s <10206665+teutat3s@users.noreply.github.com>2022-11-07 15:20:20 +0100
commit92cfa0563ec121ca180c7ec9c5c9ab9d564cab15 (patch)
tree21fdc0499ebebda18d1ded5fcd0ad3627077e803 /pkgs/applications/misc/qMasterPassword
parentd3e91e9b3d5937880dc1fe49689b290b039e0c32 (diff)
qMasterPassword: use qt6
Diffstat (limited to 'pkgs/applications/misc/qMasterPassword')
-rw-r--r--pkgs/applications/misc/qMasterPassword/default.nix22
1 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/applications/misc/qMasterPassword/default.nix b/pkgs/applications/misc/qMasterPassword/default.nix
index cdf3faa9d1dc0..2ba56a5965bac 100644
--- a/pkgs/applications/misc/qMasterPassword/default.nix
+++ b/pkgs/applications/misc/qMasterPassword/default.nix
@@ -1,6 +1,18 @@
-{ lib, stdenv, mkDerivation, fetchFromGitHub, qtbase, qmake, qttools, libX11, libXtst, openssl, libscrypt }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, libX11
+, libXtst
+, qmake
+, qtbase
+, qttools
+, qtwayland
+, openssl
+, libscrypt
+, wrapQtAppsHook
+}:
 
-mkDerivation rec {
+stdenv.mkDerivation rec {
   pname = "qMasterPassword";
   version = "1.2.4";
 
@@ -11,8 +23,8 @@ mkDerivation rec {
     sha256 = "sha256-VQ1ZkXaZ5sUbtWa/GreTr5uXvnZ2Go6owJ2ZBK25zns=";
   };
 
-  buildInputs = [ qtbase libX11 libXtst openssl libscrypt ];
-  nativeBuildInputs = [ qmake qttools ];
+  buildInputs = [ qtbase qtwayland libX11 libXtst openssl libscrypt ];
+  nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
 
   # Upstream install is mostly defunct. It hardcodes target.path and doesn't
   # install anything but the binary.
@@ -46,7 +58,7 @@ mkDerivation rec {
     '';
     homepage = "https://github.com/bkueng/qMasterPassword";
     license = licenses.gpl3;
-    maintainers = [ maintainers.tadeokondrak ];
+    maintainers = with lib.maintainers; [ tadeokondrak ];
     platforms = platforms.all;
   };
 }