1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

qtbitcointrader: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:34:33 +03:00
parent 4e1d2d9afb
commit eeffa2202a
2 changed files with 9 additions and 10 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qt }:
{ stdenv, fetchFromGitHub, qt4, qmake4Hook }:
let
version = "1.08.03";
@ -13,23 +13,24 @@ stdenv.mkDerivation {
sha256 = "0kxb0n11agqid0nyqdspfndm03b8l0nl8x4yx2hsrizs6m5z08h4";
};
buildInputs = [ qt ];
buildInputs = [ qt4 ];
nativeBuildHooks = [ qmake4Hook ];
postUnpack = "sourceRoot=\${sourceRoot}/src";
configurePhase = ''
qmake \
PREFIX=$out \
preConfigure = ''
qmakeFlags="$qmakeFlags \
DESKTOPDIR=$out/share/applications \
ICONDIR=$out/share/pixmaps \
QtBitcoinTrader_Desktop.pro
"
'';
meta = with stdenv.lib;
{ description = "Secure bitcoin trading client";
homepage = https://centrabit.com/;
license = licenses.lgpl3;
platforms = qt.meta.platforms;
platforms = qt4.meta.platforms;
maintainers = [ maintainers.ehmry ];
};
}

View file

@ -14584,9 +14584,7 @@ in
qgroundcontrol = qt55.callPackage ../applications/science/robotics/qgroundcontrol { };
qtbitcointrader = callPackage ../applications/misc/qtbitcointrader {
qt = qt4;
};
qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { };
pahole = callPackage ../development/tools/misc/pahole {};