2018-12-18 23:49:02 +00:00
|
|
|
{ stdenv, fetchzip, qt5 }:
|
2014-04-26 20:09:48 +00:00
|
|
|
|
|
|
|
let
|
2019-04-16 07:52:34 +00:00
|
|
|
version = "1.40.41";
|
2014-04-26 20:09:48 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qtbitcointrader-${version}";
|
|
|
|
|
2018-12-18 23:49:02 +00:00
|
|
|
src = fetchzip {
|
2016-04-23 08:45:24 +00:00
|
|
|
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
|
2019-04-16 07:52:34 +00:00
|
|
|
sha256 = "0v2rqzswqxfhxvkj1i7b48sd6kbj3w9issvn05yhp7bx75gwns4p";
|
2014-04-26 20:09:48 +00:00
|
|
|
};
|
|
|
|
|
2016-04-23 08:45:24 +00:00
|
|
|
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
|
2014-04-26 20:09:48 +00:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
|
2016-04-23 08:45:24 +00:00
|
|
|
configurePhase = ''
|
2016-07-26 10:15:47 +00:00
|
|
|
runHook preConfigure
|
2016-04-23 08:45:24 +00:00
|
|
|
qmake $qmakeFlags \
|
|
|
|
PREFIX=$out \
|
2014-04-26 20:09:48 +00:00
|
|
|
DESKTOPDIR=$out/share/applications \
|
|
|
|
ICONDIR=$out/share/pixmaps \
|
2016-04-23 08:45:24 +00:00
|
|
|
QtBitcoinTrader_Desktop.pro
|
2016-07-26 10:15:47 +00:00
|
|
|
runHook postConfigure
|
2014-04-26 20:09:48 +00:00
|
|
|
'';
|
|
|
|
|
2018-12-18 23:49:02 +00: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 17:10:54 +00:00
|
|
|
}
|