2016-04-23 09:45:24 +01:00
|
|
|
{ stdenv, fetchurl, qt5 }:
|
2014-04-26 21:09:48 +01:00
|
|
|
|
|
|
|
let
|
2018-11-09 01:27:20 +00:00
|
|
|
version = "1.40.23";
|
2014-04-26 21:09:48 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qtbitcointrader-${version}";
|
|
|
|
|
2016-04-23 09:45:24 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
|
2018-11-09 01:27:20 +00:00
|
|
|
sha256 = "11r2jzb09a62hf9fkg6aw8pg2js8c87k6lba9xz2q8n6d6jv44r1";
|
2014-04-26 21:09:48 +01:00
|
|
|
};
|
|
|
|
|
2016-04-23 09:45:24 +01:00
|
|
|
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
|
2014-04-26 21:09:48 +01:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
|
2016-04-23 09:45:24 +01:00
|
|
|
configurePhase = ''
|
2016-07-26 11:15:47 +01:00
|
|
|
runHook preConfigure
|
2016-04-23 09:45:24 +01:00
|
|
|
qmake $qmakeFlags \
|
|
|
|
PREFIX=$out \
|
2014-04-26 21:09:48 +01:00
|
|
|
DESKTOPDIR=$out/share/applications \
|
|
|
|
ICONDIR=$out/share/pixmaps \
|
2016-04-23 09:45:24 +01:00
|
|
|
QtBitcoinTrader_Desktop.pro
|
2016-07-26 11:15:47 +01:00
|
|
|
runHook postConfigure
|
2014-04-26 21:09:48 +01:00
|
|
|
'';
|
|
|
|
|
2014-11-12 17:10:54 +00:00
|
|
|
meta = with stdenv.lib;
|
2016-04-23 09:45:24 +01:00
|
|
|
{ description = "Bitcoin trading client";
|
2014-11-12 17:10:54 +00:00
|
|
|
homepage = https://centrabit.com/;
|
|
|
|
license = licenses.lgpl3;
|
2016-04-23 09:45:24 +01:00
|
|
|
platforms = qt5.qtbase.meta.platforms;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2014-11-12 17:10:54 +00:00
|
|
|
};
|
|
|
|
}
|