yubikey-personalization-gui: port to qt5

Uses QT5's `qmake` hook (http://doc.qt.io/qt-5/qmake-manual.html) to
build `yubikey-personalization-gui` with a non-90s interface.

See #33248
This commit is contained in:
Maximilian Bosch 2018-05-04 23:07:40 +02:00
parent 4c8c314689
commit a0502800cf
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt4, qmake4Hook, libyubikey }:
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qtbase, qmake, libyubikey }:
stdenv.mkDerivation rec {
name = "yubikey-personalization-gui-3.1.25";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1knyv5yss8lhzaff6jpfqv12fjf1b8b21mfxzx3qi0hw4nl8n2v8";
};
nativeBuildInputs = [ pkgconfig qmake4Hook ];
buildInputs = [ yubikey-personalization qt4 libyubikey ];
nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [ yubikey-personalization qtbase libyubikey ];
installPhase = ''
mkdir -p $out/bin

View File

@ -11994,7 +11994,7 @@ with pkgs;
libusb = libusb1;
};
yubikey-personalization-gui = callPackage ../tools/misc/yubikey-personalization-gui { };
yubikey-personalization-gui = libsForQt5.callPackage ../tools/misc/yubikey-personalization-gui { };
zeitgeist = callPackage ../development/libraries/zeitgeist { };