2021-12-13 14:35:57 +00:00
|
|
|
{ lib, fetchFromGitHub, qt5, mkDerivation }:
|
2014-04-26 20:09:48 +00:00
|
|
|
|
2021-12-13 14:35:57 +00:00
|
|
|
mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "qtbitcointrader";
|
2021-12-13 14:35:57 +00:00
|
|
|
version = "1.40.43";
|
2014-04-26 20:09:48 +00:00
|
|
|
|
2021-12-13 14:35:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JulyIGHOR";
|
|
|
|
repo = "QtBitcoinTrader";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-u3+Kwn8KunYUpWCd55TQuVVfoSp8hdti93d6hk7Uqx8=";
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-12-18 23:49:02 +00:00
|
|
|
description = "Bitcoin trading client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://centrabit.com/";
|
2018-12-18 23:49:02 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = qt5.qtbase.meta.platforms;
|
|
|
|
};
|
2014-11-12 17:10:54 +00:00
|
|
|
}
|