keepassx: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:33:06 +03:00
parent f02e4a7255
commit 7a57ce0fbb

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, bzip2, qt4, libX11, xextproto, libXtst }:
{ stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xextproto, libXtst }:
stdenv.mkDerivation rec {
name = "keepassx-${version}";
@ -9,14 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry";
};
configurePhase = ''
qmake PREFIX=$out
'';
patches = [ ./random.patch ];
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
nativeBuildInputs = [ qmake4Hook ];
meta = {
description = "Qt password manager compatible with its Win32 and Pocket PC versions";
homepage = http://www.keepassx.org/;