2019-11-01 09:37:26 +01:00
|
|
|
{ stdenv, fetchzip, qt5, mkDerivation }:
|
2014-04-26 22:09:48 +02:00
|
|
|
|
|
|
|
let
|
2019-09-29 01:25:13 +02:00
|
|
|
version = "1.40.43";
|
2014-04-26 22:09:48 +02:00
|
|
|
in
|
2019-11-01 09:37:26 +01:00
|
|
|
mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "qtbitcointrader";
|
|
|
|
inherit version;
|
2014-04-26 22:09:48 +02:00
|
|
|
|
2018-12-19 00:49:02 +01:00
|
|
|
src = fetchzip {
|
2016-04-23 10:45:24 +02:00
|
|
|
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
|
2019-09-29 01:25:13 +02:00
|
|
|
sha256 = "07xbsi78cykpyxidp1bw5ahmymdrs2afg7b0lla7dfhagz18lzxv";
|
2014-04-26 22:09:48 +02:00
|
|
|
};
|
|
|
|
|
2016-04-23 10:45:24 +02:00
|
|
|
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
|
2014-04-26 22:09:48 +02:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
|
2016-04-23 10:45:24 +02:00
|
|
|
configurePhase = ''
|
2016-07-26 12:15:47 +02:00
|
|
|
runHook preConfigure
|
2016-04-23 10:45:24 +02:00
|
|
|
qmake $qmakeFlags \
|
|
|
|
PREFIX=$out \
|
2014-04-26 22:09:48 +02:00
|
|
|
DESKTOPDIR=$out/share/applications \
|
|
|
|
ICONDIR=$out/share/pixmaps \
|
2016-04-23 10:45:24 +02:00
|
|
|
QtBitcoinTrader_Desktop.pro
|
2016-07-26 12:15:47 +02:00
|
|
|
runHook postConfigure
|
2014-04-26 22:09:48 +02:00
|
|
|
'';
|
|
|
|
|
2018-12-19 00:49:02 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bitcoin trading client";
|
|
|
|
homepage = https://centrabit.com/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = qt5.qtbase.meta.platforms;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
2014-11-12 18:10:54 +01:00
|
|
|
}
|